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
- Tile Palette Edit mode turns off in Play Mode
- The Editor crashes when Generating Font Atlas in the Font Asset Creator with “9999999999” padding and 256x256 Atlas Resolution
- [iOS] An “ArgumentNullException” error is thrown when GetIntroductoryPriceDictionary() method is called
- Memory leak warnings are constantly thrown when Generating Font Atlas in Font Asset Creator with 4096x8192 Atlas Resolution
- “Glyph rendering has been aborted due to sampling point size” Log is printed and Font Atlas is not generated when Atlas Resolution is 8192x8192, and the Render Mode is SDF
Add comment