I've encountered a problem where I can't open my Unity project properly. During the opening process, the editor automatically crashes. Upon checking the editor log (Editor.log), I found the following error message:
StackOverflowException: The requested operation caused a stack overflow.
at (wrapper managed-to-native) System.MonoCustomAttrs.GetCustomAttributesInternal(System.Reflection.ICustomAttributeProvider,System.Type,bool)
at System.MonoCustomAttrs.GetCustomAttributesBase (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inheritedOnly) [0x00013] in <eef08f56e2e042f1b3027eca477293d9>:0
at System.MonoCustomAttrs.GetCustomAttributes (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inherit) [0x002bb] in <eef08f56e2e042f1b3027eca477293d9>:0
at System.RuntimeType.GetCustomAttributes (System.Type attributeType, System.Boolean inherit) [0x00038] in <eef08f56e2e042f1b3027eca477293d9>:0
at System.Attribute.GetCustomAttributes (System.Reflection.MemberInfo element, System.Type type, System.Boolean inherit) [0x00088] in <eef08f56e2e042f1b3027eca477293d9>:0
at System.Reflection.CustomAttributeExtensions.GetCustomAttributes (System.Reflection.MemberInfo element, System.Type attributeType, System.Boolean inherit) [0x00000] in <eef08f56e2e042f1b3027eca477293d9>:0
at System.Reflection.CustomAttributeExtensions.GetCustomAttributes[T] (System.Reflection.MemberInfo element, System.Boolean inherit) [0x00000] in <eef08f56e2e042f1b3027eca477293d9>:0
at Unity.Entities.TypeManager.GetParentGroupDefaultFilterFlags (System.Type type) [0x00019] in .\Library\PackageCache\com.unity.entities@1.0.11\Unity.Entities\Types\TypeManagerSystems.cs:1331