Search Issue Tracker
Fixed
Fixed in 2021.3.36f1, 2022.3.21f1, 2023.2.13f1, 2023.3.0b10
Votes
0
Found in
2021.3.34f1
2022.3.19f1
2023.2.9f1
2023.3.0b6
Issue ID
UUM-62515
Regression
No
Crash on IsPatchClamped when pressing the "Paint Details" button
Reproduction steps:
1. Open the “user's attached project”
2. Open the “Game” Scene
3. Select the “Terrain” GameObject in the Hierarchy
4. Under the “Terrain” Component press the “Paint Details” button through the Inspector
5. Observe the crash
Reproducible with: 2021.3.34f1, 2022.3.19f1, 2023.2.9f1, 2023.3.0b6
Reproducible on: macOS Sonoma 14.2.1 (Intel)
Not reproducible on: no other environment tested
First few lines of Stack Trace:
{{#0 0x0000010f674217 in IsPatchClamped(int, int, DetailRenderMode, float, DetailDatabase const&) }}
{{#1 0x0000010f62862f in DetailDatabase::GetClampedPatches(dynamic_array<math::int2_storage, 0ul>&, float) const }}
{{#2 0x0000010f681c52 in TerrainDataScriptingInterface::GetClampedDetailPatches(TerrainData const&, float) }}
{{#3 0x0000010e420bdb in TerrainData_CUSTOM_GetClampedDetailPatches(ScriptingBackendNativeObjectPtrOpaque*, float) }}
{{#4 0x000001ab67dc4d in (wrapper managed-to-native) UnityEngine.TerrainData:GetClampedDetailPatches (UnityEngine.TerrainData,single) [{0x7fc6fe3e8580} + 0xad] (0x1ab67dba0 0x1ab67dd2b) [0x15aec2a80 - Unity Child Domain]}}
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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Resolution Note (fix version 2022.3.21f1):
Verified with:
Version: 2022.3.21f1.git.12519882
Revision: 2022.3/staging bf09ca542b87
Built: Wed, 28 Feb 2024 17:36:13 GMT