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
- Code runs slower when using a cached exception instance compared to creating a new one
- Broken UI in Default Preset Add Section of "Preset Manager" window
- [iOS] The Player freezes when closing the Notification Center and quickly swiping down from top
- Crash on Texture2D:SetPixelImpl when rapidly calling Texture2D.Apply()
- Graph Lines are not rendered when using Experimental GraphView or GridBackground
Add comment