Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.30f1

2022.3.9f1

2023.1.12f1

2023.2.0b8

2023.3.0a3

Issue ID

UUM-48375

Regression

No

Crash on TerrainManager::Heightmap_GetSize when setting Terrain Data to “None“ in the Play Mode

--

-

Reproduction steps:
1. Create a new 3D project
2. Enter the Play Mode
3. Create Terrain GameObject (Right-click in the Hierarchy window > 3D Objects > Terrain)
4. Select the “Terrain“ GameObject
5. Set Terrain Data to “None“

Expected result: Terrain Data is set to “None“
Actual result: Editor crashes

Reproducible with: 2021.3.30f1, 2022.3.9f1, 2023.1.12f1, 2023.2.0b8, 2023.3.0a3

Reproducible on: Windows 10
Not reproducible on: No other environment tested

First few lines of stack trace:

{noformat}0x00007FFFA8BB8971 (Unity) TerrainManager::Heightmap_GetSize
0x00007FFFA8C39361 (Unity) TerrainCollider::CreateTrees
0x00007FFFA8C3802A (Unity) TerrainCollider::AwakeFromLoad
0x00007FFFA83E8777 (Unity) AwakeFromLoadQueue::InvokeAwakeFromLoad
0x00007FFFA83E3A26 (Unity) AwakeFromLoadQueue::AwakeFromLoadAllQueues
0x00007FFFA930F7B0 (Unity) SerializedObject::ApplyModifiedPropertiesWithoutUndo
0x00007FFFA7991F3A (Unity) SerializedObject_CUSTOM_ApplyModifiedProperties{noformat}

Note: Does not crash when outside of the Play Mode

  1. Resolution Note:

    Thank you for bringing this issue to our attention. Unfortunately, after careful consideration, we will not be addressing your issue at this time, as we are currently committed to resolving other higher-priority issues.
    We acknowledge that the current Terrain system has a number of limitations, so we are currently investing in a large amount of discovery work to determine exactly what is needed most and how we can bring it to you at the quality level you have come to expect and address the most pervasive pain points in the most effective and efficient manner. However, we know each case is different, so please do continue to log any issues you find, and provide general feedback on our roadmap page to help us prioritize.
    Forum to discuss feature requests: https://forum.unity.com/threads/world-building-public-roadmap-and-feature-requests.1437163/
    Roadmap: https://unity.com/roadmap/unity-platform/3d-world-building

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.