Hi,
In beta 16 I had no error messages but when opening my project in beta 17 it lists a lot of error messages just after start. I tried Reimport All but that changed nothing.
Messages looks like this:
TypeLoadException: Could not load type ‘UnityEngine.ExecuteInEditModeAttribute’ from assembly ‘Assembly-CSharp’.
System.MonoCustomAttrs.GetCustomAttributesBase (ICustomAttributeProvider obj, System.Type attributeType) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System/MonoCustomAttrs.cs:108)
System.MonoCustomAttrs.GetCustomAttributes (ICustomAttributeProvider obj, System.Type attributeType, Boolean inherit) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System/MonoCustomAttrs.cs:151)
System.MonoType.GetCustomAttributes (System.Type attributeType, Boolean inherit) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System/MonoType.cs:595)
UnityEngine.AttributeHelperEngine.CheckIsEditorScript (System.Type klass) (at C:/buildslave/unity/build/Runtime/Export/AttributeHelperEngine.cs:107)
TypeLoadException: Could not load type ‘UnityEngine.AddComponentMenuAttribute’ from assembly ‘Assembly-UnityScript’.
System.MonoCustomAttrs.GetCustomAttributesBase (ICustomAttributeProvider obj, System.Type attributeType) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System/MonoCustomAttrs.cs:108)
System.MonoCustomAttrs.GetCustomAttributes (ICustomAttributeProvider obj, System.Type attributeType, Boolean inherit) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System/MonoCustomAttrs.cs:151)
System.MonoType.GetCustomAttributes (System.Type attributeType, Boolean inherit) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System/MonoType.cs:595)
UnityEngine.AttributeHelperEngine.CheckIsEditorScript (System.Type klass) (at C:/buildslave/unity/build/Runtime/Export/AttributeHelperEngine.cs:107)
TypeLoadException: Could not load type ‘UnityEngine.RequireComponentAttribute’ from assembly ‘Assembly-CSharp’.
System.MonoCustomAttrs.GetCustomAttributesBase (ICustomAttributeProvider obj, System.Type attributeType) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System/MonoCustomAttrs.cs:108)
System.MonoCustomAttrs.GetCustomAttributes (ICustomAttributeProvider obj, System.Type attributeType, Boolean inherit) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System/MonoCustomAttrs.cs:151)
System.MonoType.GetCustomAttributes (System.Type attributeType, Boolean inherit) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System/MonoType.cs:595)
UnityEngine.AttributeHelperEngine.CheckIsEditorScript (System.Type klass) (at C:/buildslave/unity/build/Runtime/Export/AttributeHelperEngine.cs:107)
TypeLoadException: Could not load type ‘PoolingManager’ from assembly ‘Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’.
^(I recognize here PoolingManager, it’s class from my project)
TypeLoadException: Could not load type ‘Axis’ from assembly ‘UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’.
TypeLoadException: Could not load type ‘UnityEditor.GradientPicker’ from assembly ‘UnityEditor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’.
TypeLoadException: Could not load type ‘UnityEngine.UI.Image’ from assembly ‘UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’.
TypeLoadException: Could not load type ‘UnityEditor.PaneDragTab’ from assembly ‘UnityEditor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’.
TypeLoadException: Could not load type ‘CosmicPerspective.GuiSpecificButton_SpaceUnitsIcon’ from assembly ‘Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’.
^(CosmicPerspective.GuiSpecificButton_SpaceUnitsIcon same here; my class )
Can someone recognize what all this might be all about? Can I fix it somehow?
Game seems to work so far but I will test that more and report.
Okey, errors are gone now after few unity restarts/reimports more. Consider this topic solved
I won’t delete this thread just in case it might contain some useful logs for Unity team.
4 Likes