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
- "Rendering Debugger" displays incorrect overdraw count when using "Unlit/Texture" shader
- Scene and Game views break when the Editor window is snapped with the Microsoft PowerToys
- Materials do not transfer texture when the "Shader" parameter is changed from "Unlit/Texture" to "Universal Render Pipeline/Unlit"
- [Linux][Vulkan] Crash when opening searchable dialog
- The "Shader error in 'AE/Leaves': "Undefined punctual shadow filter algorithm"" error appears when build completes on a specific project
rameshmanne
Feb 20, 2024 16:40
any update on this issue??