Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2020.2.X, 2021.1.X

Votes

0

Found in

2020.2.0b9

2020.2.0b14

2021.1

Issue ID

1300660

Regression

Yes

Crash on TerrainManager::CullAllTerrains when opening a scene with neighboring terrains

Terrain

-

Reproduction steps:
1. Open the attached project ("1300660.zip")
2. Open scene "Hot LZ"

Reproducible with: 2020.2.0b9, 2020.2.1f1, 2021.1.0a1, 2021.1.0b2
Not reproducible with: 2020.1.17f1, 2020.2.0b8
Cannot test 2019.4 due to files breaking when downgrading

First lines of the stacktrace:
0x00007ff78e1f36d6 (Unity) TerrainManager::CullAllTerrains
0x00007ff78ccb7d08 (Unity) Camera::CustomCull
0x00007ff78d9bf632 (Unity) Camera::RenderEditorCamera
0x00007ff78d9c0bb5 (Unity) Camera::RenderEditorCamera
0x00007ff78decd44f (Unity) Handles_CUSTOM_Internal_DrawCameraWithGrid

Notes:
- In the versions deemed not reproducible there's two warnings produced in the console after opening the scene:
Left neighbor of the terrain has a different heightmap resolution. Stop neighboring.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

Left neighbor of the terrain has a different heightmap resolution. Stop neighboring.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

  1. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a2

  2. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.0b3

  3. Resolution Note (fix version 2020.2):

    Fixed in 2020.2.3f1

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.