New Issues with Unity 5.5

Not sure if these are bugs or if something needs to be changed in my code.

I now get the following interment errors that go away only when I shutdown unity and reload.

These are new to Unity 5.5 and do not appear in 5.4:

//About 1000000 of these at startup:
Asset with GUID __ has empty path but has assettimestamp???

//Error1
TypeLoadException: Could not load type ‘AirshipMovementComponent’ from assembly ‘Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’.

//Error2
ReflectionTypeLoadException: The classes in the module cannot be loaded.
System.Reflection.Assembly.GetTypes () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/Assembly.cs:371)
UnityEditor.Events.InterceptedEventsPreview.GetEventsInfo (UnityEngine.GameObject gameObject)
UnityEditor.Events.InterceptedEventsPreview.Initialize (UnityEngine.Object[ ] targets)
UnityEditor.InspectorWindow.GetPreviewsForType (UnityEditor.Editor editor) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:309)
UnityEditor.InspectorWindow.CreatePreviewables () (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:277)
UnityEditor.InspectorWindow.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:339)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[ ] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)

Also this:
//Error
ArgumentException: Getting control 0’s position in a group with only 0 controls when doing Repaint
Aborting
UnityEngine.GUILayoutGroup.GetNext () (at C:/buildslave/unity/build/Runtime/IMGUI/Managed/LayoutGroup.cs:114)
UnityEngine.GUILayoutUtility.BeginLayoutGroup (UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[ ] options, System.Type layoutType) (at C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUILayoutUtility.cs:266)
UnityEditor.EditorGUILayout.BeginVerticalScrollView (Vector2 scrollPosition, Boolean alwaysShowVertical, UnityEngine.GUIStyle verticalScrollbar, UnityEngine.GUIStyle background, UnityEngine.GUILayoutOption[ ] options) (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:7374)
UnityEditor.EditorGUILayout.BeginVerticalScrollView (Vector2 scrollPosition, UnityEngine.GUILayoutOption[ ] options) (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:7368)
UnityEditor.InspectorWindow.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:347)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[ ] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)

This is currently fixed in 5.6. The current workaround is to reimport all assets.
Will ask if there are plans for backporting.

Edit: the fix has also landed in p1 :slight_smile:

1 Like

For this issue, can you submit a bug report with repo project and the wrapper and the dll? Then let me know the report nr so I can discuss with the team.

Hi,
There is no wrapper or .dll this is just a normal C# script in unity. Its not always the particular script in that error it is sometimes a different one. I think the unity VS connection is breaking.

I can submit a bug report but cannot submit a repro at this point. It takes my team a full day to separate out the 40+ gigs of content…

This error happens with any starter project as well.

Curious about the 3rd error posted, thoughts on that one?

The DLL issue is a symptom of the timestamps bug. It should be possible to fix it by deleting the library folder so that a full import can be done and the corrupted timestamps can be fixed. The patch should be out by the end of the work, providing QA don’t turn up any issues.

Great thanks!

Now after deleting my library I’m getting new errors:

//error 1:
Failed to extract UnityEngine.EventSystems.HoloLensInput class of base type UnityEngine.EventSystems.BaseInput when inspecting E:/Unity5_5/Editor/Data/UnityExtensions/Unity/UnityHoloLens/RuntimeEditor/UnityEngine.HoloLens.dll
UnityEditor.AssemblyHelper:ExtractAllClassesThatInheritMonoBehaviourAndScriptableObject(String, String[ ]&, String[ ]&)

//error 2
Maya could not be found.
Make sure that maya is installed and the maya file has maya as its ‘Open with’ application!

//Also still getting this error
ArgumentException: Getting control 0’s position in a group with only 0 controls when doing Repaint
Aborting
UnityEngine.GUILayoutGroup.GetNext () (at C:/buildslave/unity/build/Runtime/IMGUI/Managed/LayoutGroup.cs:114)
UnityEngine.GUILayoutUtility.BeginLayoutGroup (UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[ ] options, System.Type layoutType) (at C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUILayoutUtility.cs:266)
UnityEditor.EditorGUILayout.BeginVerticalScrollView (Vector2 scrollPosition, Boolean alwaysShowVertical, UnityEngine.GUIStyle verticalScrollbar, UnityEngine.GUIStyle background, UnityEngine.GUILayoutOption[ ] options) (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:7374)
UnityEditor.EditorGUILayout.BeginVerticalScrollView (Vector2 scrollPosition, UnityEngine.GUILayoutOption[ ] options) (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:7368)
UnityEditor.InspectorWindow.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:347)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[ ] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)

Also after deleting my library I’m now having to restart unity as this error still pops up occasionally
//Error1
TypeLoadException: Could not load type ‘one of my compoennts’ from assembly ‘Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’.

Also Unity 5.5. is crashing all over the place. I’ll begin opening bugs on the crashes now that I know I’m not missing something in the upgrade notes.