Search Issue Tracker

Fixed in 5.6.0f3

Fixed in 5.6.X

Votes

0

Found in

5.6.0b7

Issue ID

879511

Regression

Yes

InvalidOperationException when setting a custom resolution in Game View

Scene/Game View

-

Steps to reproduce :

- create a new project
- go to Game View
- try to set a custom resolution and notice the error

*Note:
Regression from 5.6b4.

InvalidOperationException: Operation is not valid due to the current state of the object
System.Collections.Stack.Pop () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections/Stack.cs:329)
UnityEngine.GUILayoutUtility.EndLayoutGroup () (at /Users/builduser/buildslave/unity/build/Runtime/IMGUI/Managed/GUILayoutUtility.cs:321)
UnityEngine.GUILayout.EndVertical () (at /Users/builduser/buildslave/unity/build/Runtime/IMGUI/Managed/GUILayout.cs:317)
UnityEditor.HostView.OnGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:92)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.