Search Issue Tracker
Fixed in 5.5.0
Votes
0
Found in
5.4.0b1
Issue ID
758068
Regression
Yes
[Terrain][Editor][OSX] InvalidOperationException errors are thrown after closing 'Import Raw' selection window
Steps to reproduce:
1. Open Unity on OSX;
2. Create new project and scene;
3. Add Terrain GameObject -> 3D Object -> Terrain;
4. Select Terrain GameObject in the Hierarchy view;
5. Go to Terrain Settings tab in the Inspector;
6. Click 'Import Raw' button;
7. Close 'Import Raw' window;
8. Observe the console.
Actual result:
Errors:
- 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)
and
- InvalidOperationException: Operation is not valid due to the current state of the object
System.Collections.Stack.Pop () (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections/Stack.cs:329)
are displayed in the console.
Also this bug reproduces when selecting and opening raw terrain heightmap (from 'Import RAW' window).
See attached gif video and actual.png screenshot.
Regression introduced somewhere in 5.4.0.
Expected result:
Errors should not be thrown when closing or opening raw terrain heightmaps.
Notes:
- Reproduces on 5.4.0b1 and 5.4.0a6;
- Doesn't reproduce on 5.3.0f4 and 5.3.1p1;
- Reproduces only on OSX (10.11.2 checked). MacBook Pro with Retina display with Intel Iris Pro 1536 MB GPU;
- This bug seems not to affect Import Raw heightmap terrain functionality.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Icon section shows incomplete message and unusable check box in Build Profiles and Player Settings window instead of “Not applicable for this platform” for Dedicated Server Platform
- "Editor unavailable" message is displayed when navigating to "Get set up" tab in Unity Hub
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
Add comment