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
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Add comment