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
- Asset preview window is available but empty on SpeedTree GameObjects
- A pink line of the size of the Tree is drawn in the Hierarchy when opening any dropdown in the Inspector
- Fatal Error "Callback registration failed. Increase kMaxCallback." when playing multiple random audio sources rapidly
- 2D Light overlap order is not evaluated when shadows are being produced with Render Graph Compatibility Mode Disabled
- Short pause between loops in a WebGL-built project when looping an AudioSource
JustZht
Apr 09, 2015 13:00
still have this in 5.0.0f4 and 5.0.1f1