Search Issue Tracker
Fixed in 5.0.X
Votes
0
Found in
5.0.0b18
Issue ID
657729
Regression
Yes
[Terrain] Leaving play mode in a scene with a terrain causes a freeze
To reproduce:
1. Create a new terrain in a scene
2. Enter play mode
3. Leave play mode
4. Repeat step 2-3 a few times (it usually happens after 2-3 tries)
5. Unity freezes. There are errors in the console:
"j - i == terrainChunksInfo.numChunksInX * terrainChunksInfo.numChunksInY
false
false
false
false"
Caused by lightmapping. Can be workarounded by turning off continuous baking and avoiding baking scenes with terrains.
Can also be workarounded by having more than 1 terrain in scene.
Comments (5)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- URP ShadowCaster2D is misplaced and distorted when used with rotated Perspective Camera
- UI mesh is drawn twice when two cameras are used
- The Scene view top menu bar disappears when any Draw Mode other than "Wireframe" is selected in the specific project with a corrupted Material
- TabView.tabClosed EventHandler passes the wrong tab index as parameter when closing a tab from oldest to newest order
- Rigidbodies clip through terrain and snap back up when Heightmap Resolution is bigger than the terrain size
LucaBianco97
Jun 11, 2016 16:14
It still occurs in Unity v5.3.5f1 Personal, 64bit (Win7).
When importing a raw heightmap from World Machine.
WolfNibode
Feb 03, 2016 18:05
Hi I also get this error "GUI Window tries to begin rendering while something else has not finished rendering! Either you have a recursive OnGUI rendering, or previous OnGUI did not clean up properly." what is it about?
Creationbarrel
Sep 10, 2015 05:32
this happens with just the regular unity terrain system
IrishTorch
Mar 27, 2015 19:17
I get the same problem.
I have had to remove my terrain (disable it) and replace with a plane for all testing and dev.
vonWolfehaus
Mar 19, 2015 07:31
This is occurring in Unity v5.0.0f4, Personal, 64bit (Win7). Any time I import a raw heightmap from World Machine, I will get this error.