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 ()
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [VFX Graph] Base Color Map Inconsistency between Lit and Unlit Ouput
- [HDRP] Water is using the wrong depth when calculating absorption for alpha clipped transparents with depth prepass enabled
- [VFX Graph] Emissive isn't working with Decal output
- Gizmos are not drawn in Game view and Render Graph Execution errors are shown when stacked Overlay Camera is used and 'Compatibility Mode' is disabled
- Crash on WalkTypeTreeInternal when selecting the Texture of a specific FBX
rameshmanne
Feb 20, 2024 16:40
any update on this issue??