Search Issue Tracker

Fixed in 5.0

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. 6f7cb891c8eb7a00e373a8d43500bc6b?d=mm

    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. 1bb33783180d7f19d8c5e7918ab0d689?d=mm

    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. 08d86bbd283210121e2bc91ce2c2159b?d=mm

    Creationbarrel

    Sep 10, 2015 05:32

    this happens with just the regular unity terrain system

  4. 6d84714889892d9ec223546d549cde19?d=mm

    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. 6f9224468f69e7d7449be895c2a642bf?d=mm

    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.