Search Issue Tracker

Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.

Postponed

Votes

0

Found in

5.3.0f4

Issue ID

755357

Regression

No

[Editor] EditorUtility.DisplayCancelableProgressBar causes InvalidOperationException

Editor - Other

-

Reproduction steps:
1) Open "test" project;
2) Open "BugReport" drop down menu located on the toolbar and select "Open Window";
3) Once "TestWindow" appears, click on it and press "enter" on your keyboard. An error should appear;

InvalidOperationException: Operation is not valid due to the current state of the object
System.Collections.Stack.Peek ()

NOTE: This only happens with DisplayCancelableProgressBar and does not happen when using DisplayProgressBar.
NOTE2: DisplayCancelableProgressBar is used inside of OnGUI when this happens.

Reproduced with: 5.4.0b1, 5.3.1f1, 5.2.4f1, 5.1.4f1.

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.