Search Issue Tracker
Duplicate
Votes
0
Found in
5.0.0f3
Issue ID
677285
Regression
Yes
Error when switching between Gamma and Linear color spaces
In any project, go to Player Settings and change Gamma to Linear in the Color Space dropdown.
InvalidOperationException: Operation is not valid due to the current state of the object
System.Collections.Stack.Peek () (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections/Stack.cs:321)
UnityEngine.GUILayoutUtility.EndLayoutGroup () (at C:/buildslave/unity/build/artifacts/generated/common/runtime/GUILayoutUtility.gen.cs:223)
UnityEngine.GUILayout.EndVertical () (at C:/buildslave/unity/build/artifacts/generated/common/runtime/GUILayout.gen.cs:266)
UnityEditor.EditorGUILayout.EndVertical () (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:6578)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean forceDirty, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect, Boolean eyeDropperDirty) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1166)
UnityEditor.InspectorWindow.DrawEditors (UnityEditor.Editor[] editors) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:960)
UnityEditor.InspectorWindow.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:342)
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-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
UnityEditor.PopupCallbackInfo:SetEnumValueDelegate(Object, String[], Int32)
Regression introduced in Unity 5.0 RC3. RC2 and earlier builds don't have the error.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- URP Player remains in Windows Background processes when the application is closed
- [Android] The built-in URP shaders Lit, Complex Lit and the Simple Lit are not rendered when built on Android devices with an Adreno 300 series GPUs
- "Radio Button" disappears when added under the "RadioButtonGroup" and the parent Visual Element is selected
- ScrollView Scrollbar is jittering when Movement Type "Elastic" is selected and a mouse with a freewheel is used
- [WebGL]"TypeError: Cannot read properties of undefined (reading 'length')" error is thrown when starting the Player when config.autoSyncPersistentDataPath is set to true
JustZht
Apr 09, 2015 13:00
still have this in 5.0.0f4 and 5.0.1f1