#Unity Project Opening Issue: Editor.log Shows StackOverflowException Error

1 messages · Page 1 of 1 (latest)

scenic meadow
#

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

#

I am now helpless and completely unsure of how to resolve it.

normal spade
#

try nuke your library

#

this is a bit wewird though

#

somehow getting attributes are looping?

scenic meadow
#

I tried , but it still doesn't work. The only way to open the project is to intentionally introduce some code errors. Once the errors are fixed, the entire project crashes again. The other way to open project is removing all DOTS code.

#

2022.3.0.f1 and 2022.3.5.f1