Search Issue Tracker

Fixed

Fixed in 2021.3.37f1, 2022.3.22f1, 2023.2.15f1, 6000.0.0b11

Votes

0

Found in

2021.3.19f1

2022.2.7f1

2023.1.0b5

2023.2.0a3

2023.3.0a3

6000.0.0b11

Issue ID

UUM-27936

Regression

No

Crash on TerrainDataScriptingInterface::ComputeDetailInstanceTransforms when calling ComputeDetailInstanceTransforms with incorrect parameter values

--

-

Reproduction steps:
1. Open the “Bug Test“ project
2. Open the “testscene“ scene
3. Enter Play Mode

Expected result: the Editor does not crash
Actual result: the Editor crashes

Reproduced in: 2021.3.19f1, 2022.2.7f1, 2023.1.0b5, 2023.2.0a3
Could not test in: 2020.3.45f1 ('TerrainData' does not contain a definition for 'ComputeDetailInstanceTransforms')

Reproduced using: macOS 13.0.1 (Intel), Windows 10 (by the reporter), Windows 11

Notes:
1. Sometimes it does not crash for some reason. Deleting Library seems to help to reproduce in such cases
2. Also reproduced in Player

First few crash stack frames:
0x00007ff7775031c7 (Unity) TerrainDataScriptingInterface::ComputeDetailInstanceTransforms
0x00007ff776207f26 (Unity) TerrainData_CUSTOM_ComputeDetailInstanceTransforms
0x000001f4b75872be (Mono JIT Code) (wrapper managed-to-native) UnityEngine.TerrainData:ComputeDetailInstanceTransforms (UnityEngine.TerrainData,int,int,int,single,UnityEngine.Bounds&)
0x000001f4b7586ed3 (Mono JIT Code) [NewBehaviourScript.cs:11] NewBehaviourScript:Update ()

Comments (1)

  1. rameshmanne

    Feb 20, 2024 16:40

    any update on this issue??

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.