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.
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
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.