-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when Building Example branch #41
Comments
Original comment by Hiroki Omae (Bitbucket: [Hiroki Omae](https://bitbucket.org/Hiroki Omae), ). This is a known issue due to holding Editor's GUI code for too long. It is an error should be fixed, but from user perspective there is no side effect from this error in using tool and building asset bundle. In recent tool code (1.1) it still produces similar error such as following. NullReferenceException: Object reference not set to an instance of an object |
Original comment by Hiroki Omae (Bitbucket: [Hiroki Omae](https://bitbucket.org/Hiroki Omae), ). I fixed this with a44ed7 . It is also in 1.1 |
Original report by philmzo NA (Bitbucket: philmzo, ).
Just ran your example and imported AssetBundle Manager asset from the Asset Store to be sure nothing is missing and when building got:
InvalidOperationException: Operation is not valid due to the current state of the object
System.Collections.Stack.Peek () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections/Stack.cs:321)
UnityEngine.GUILayoutUtility.EndLayoutGroup () (at C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUILayoutUtility.cs:289)
UnityEngine.GUILayout.EndHorizontal () (at C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUILayout.cs:291)
UnityEditor.EditorGUILayout.EndHorizontal () (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:6982)
UnityEditor.EditorGUILayout+HorizontalScope.CloseScope () (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:6942)
UnityEngine.GUI+Scope.Dispose () (at C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUIBindings.cs:27)
AssetBundleGraph.AssetBundleGraphEditorWindow.DrawGUIToolBar () (at Assets/AssetBundleGraph/Editor/GUI/AssetBundleGraphEditorWindow.cs:582)
AssetBundleGraph.AssetBundleGraphEditorWindow.OnGUI () (at Assets/AssetBundleGraph/Editor/GUI/AssetBundleGraphEditorWindow.cs:820)
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)
The text was updated successfully, but these errors were encountered: