Search Issue Tracker
Active
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
- [URP] Crash on GameObject::QueryComponentByType when baking a Reflection Probe in an unsaved/untitled Scene
- No Icons are used for the Entry and Exit States in the Inspector when selected in an Animator Controller
- Crash on PlayerMain(int, char const**) when exiting Standalone Player with a Particle System in the Scene
- No Icon is used for the Runtime Animator Controller Type in a Search Window when assigning an Animator Controller in the Animator Component
- Unity Version Control server textfield’s text overlaps with the dropdown triangle button in the Explore repositories window when an organization with a long name is selected
Add comment