Search Issue Tracker
Fixed
Fixed in 2021.3.19f1, 2022.2.6f1, 2023.1.0b3, 2023.2.0a1
Votes
0
Found in
2021.3.12f1
2022.1.20f1
2022.2.0b11
2023.1.0a14
2023.2.0a1
Issue ID
UUM-17546
Regression
No
Crash on "QueryComponentByType" when entering Play Mode if setting "useInstancing" to true in "DetailPrototype"
How to reproduce:
1. Open the attached project “Terrain.zip”
2. Open the “SampleScene” Scene (Assets > Scenes > SampleScene)
3. Enter Play Mode and observe the result
Expected result: No crash
Actual result: Crash
Reproducible with: 2021.2.0a1, 2021.3.12f1, 2022.1.20f1, 2022.2.0b11, 2023.1.0a14
Could not test with: 2020.3.40f1 (useInstancing introduced in 2021.2)
Reproduced on: macOS 12.4 (Intel)
Notes:
- Not reproducible if setting “useInstancing” to false in the “TestDetailCrash.cs” script
- Reproducible in the Editor and in the macOS Standalone Player
Stack trace:
#0 0x0000010dc25d04 in GameObject::QueryComponentByType(Unity::Type const*) const
#1 0x0000010ec09847 in DetailDatabase::RefreshPrototypesStep1(Texture2D**)
#2 0x0000010ec0907d in DetailDatabase::RefreshPrototypes()
#3 0x0000010ec0aeee in DetailDatabase::SetDetailPrototypes(dynamic_array<DetailPrototype, 0ul> const&)
#4 0x0000010ec64e21 in TerrainDataScriptingInterface::SetDetailPrototypes(TerrainData&, ScriptingArrayPtr, ScriptingExceptionPtr*)
#5 0x0000010d954b35 in TerrainData_Set_Custom_PropDetailPrototypes(ScriptingBackendNativeObjectPtrOpaque*, ScriptingBackendNativeArrayPtrOpaque*)
-
rixwilliams
Oct 21, 2022 11:25
In this situation, you have to check all the folders one by one
onlineexamexpert.com/online-exams.php
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
- [Android] [Vulkan] Cubes stuck on the first few frames of rotation and application flickering when an Overlay Camera is added to the Camera Stack with MSAA enabled
- Profiling information icon does not update for Light Mode
- [Linux] Type to select functionality is missing for drop down menus
- TextMeshPro calculates Width Compression incorrectly when using certain values in the WD% field
- VFX Graph link contrasts fail WCAG guidelines
Resolution Note (fix version 2023.2.0a1):
Fixed in: 2023.2.0a1
Resolution Note (fix version 2023.1.0b3):
Fixed in: 2023.1.0b3
Resolution Note (fix version 2022.2.6f1):
Fixed in: 2022.2.6f1
Resolution Note (fix version 2021.3.19f1):
Fixed in: 2021.3.19f1