Search Issue Tracker
Fixed
Fixed in 6000.0.61f1, 6000.2.9f1, 6000.3.0b7, 6000.4.0a3
Votes
0
Found in
6000.0.59f1
6000.2.7f1
6000.3.0b4
6000.4.0a1
Issue ID
UUM-120770
Regression
No
[URP] Crash on GameObject::QueryComponentByType when baking a Reflection Probe in an unsaved/untitled Scene
Steps to reproduce:
1. Create a new Universal 3D project
2. Go to “File/New Scene”, select any of the “(URP)” templates, and press “Create”
3. Add “Light/Reflection Probe” GameObject to the Hierarchy
4. Under the “Reflection Probe” Component, press the “Bake” Button through the Inspector
5. Select “Save Scene” in the “The untitled scene needs saving” pop-up and save the Scene
6. Observe the crash
Reproducible with versions: 2022.1.0b1, 6000.0.59f1, 6000.2.7f1, 6000.3.0b4, 6000.4.0a1
Reproducible on: macOS 15.6.1 (M1 Max), Windows 10 (user)
Not reproducible on: no other environment tested
Notes:
- Not reproducible when creating the Scene with “Basic (Built-in)” or “Empty” Scene Templates
- HDRP does not let you bake Reflection Probes if the Scene is unsaved
First few lines of StackTrace:
#0 0x000001048a1bb0 in GameObject::QueryComponentByType(Unity::Type const) const
#1 0x000001061b51b0 in LightingDataAsset::CreateSnapshotForReflectionProbe(ReflectionProbe)
#2 0x000001046caefc in Lightmapping_CUSTOM_BakeReflectionProbeSnapshot(void*)
#3 0x0000042397b998 in (wrapper managed-to-native) UnityEditor.Lightmapping:BakeReflectionProbeSnapshot_Injected (intptr) [{0x143608b18} + 0x88] (0x42397b910 0x42397ba3c) [0x142982a80 - Unity Child Domain]
#4 0x0000042397b84c in UnityEditor.Lightmapping:BakeReflectionProbeSnapshot (UnityEngine.ReflectionProbe) [{0x35e87f718} + 0x5c] (0x42397b7f0 0x42397b870) [0x142982a80 - Unity Child Domain]
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment