Closed jamcohen closed 6 years ago
Hit this error during local testing. Not sure if I can repro yet.
InvalidOperationException: Operation is not valid due to the current state of the object
System.Collections.Generic.Stack`1[System.Boolean].Pop ()
UnityEditor.EditorGUI.EndChangeCheck () (at /Users/builduser/buildslave/unity/build/Editor/Mono/EditorGUI.cs:315)
GooglePlayInstant.Editor.QuickDeploy.QuickDeployWindow.OnGuiLoadingScreenSelect () (at Assets/play-instant-unity-plugin/GooglePlayInstant/Editor/QuickDeploy/QuickDeployWindow.cs:288)
GooglePlayInstant.Editor.QuickDeploy.QuickDeployWindow.OnGUI () (at Assets/play-instant-unity-plugin/GooglePlayInstant/Editor/QuickDeploy/QuickDeployWindow.cs:106)
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)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
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:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:295)
UnityEditor.HostView.Invoke (System.String methodName) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:288)
UnityEditor.HostView.OldOnGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:104)
UnityEngine.Experimental.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, Boolean isComputingLayout) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:215)
One way to reduce the size of a Unity-based instant app is to place some assets in an AssetBundle and download that AssetBundle from a loading screen at game startup.
Quick Deploy makes it easier to use AssetBundles in this fashion via two main features: