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

Terrain

-

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)

  1. 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.

  2. 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?

  3. Creationbarrel

    Sep 10, 2015 05:32

    this happens with just the regular unity terrain system

  4. 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.

  5. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.