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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment