Search Issue Tracker
Fixed
Fixed in 2023.1.0b11, 2023.2.0a10
Votes
0
Found in
2023.1.0b9
2023.2.0a8
Issue ID
UUM-30786
Regression
Yes
Editor hard-crashes when baking Scenes with LightBaker
h2. Repro:
* Download and import the attached repro project: [here|https://drive.google.com/file/d/1e1TQNd5KHm43J42aT3xMLOs4P6Honr1q/view?usp=sharing]
* Open the Scene "APVStudy_Test01".
* Navigate to the Lighting Window. Press "Generate Lighting".
h2. Note:
The editor hard-crashes with 100% reproduction. The logs can be found: [here|https://drive.google.com/file/d/1tDbe13jDqURfewqzgzOAww_2Em3e_Awp/view?usp=share_link]
There is also an error posted to the console:
!image.png|thumbnail!
h2. Observed:
After bisecting the Scene, an interesting problem emerges. It is possible to bake with no geometry. With only the lightmapped, apartment geometry. With only the 3D props. However, when both the apartment geometry _and_ and props are enabled, then we have a hard crash.
{code:java}
========== OUTPUTTING STACK TRACE ==================
0x00007FF9116AA937 (Unity) RadeonRaysMeshManager::AddInstance
0x00007FF9116E8240 (Unity) RadeonRaysJobAddInstance::Execute
0x00007FF9115CBFFC (Unity) `anonymous namespace'::ExecuteJob
0x00007FF9115CF0A3 (Unity) LightBaker::Prepare
0x00007FF9115CACE0 (Unity) LightBaker::Bake
0x00007FF911567ACE (Unity) `anonymous namespace'::RunBake
0x00007FF91020121D (Unity) Thread::RunThreadWrapper
0x00007FF96EA226BD (KERNEL32) BaseThreadInitThunk
0x00007FF96FEAA9F8 (ntdll) RtlUserThreadStart
========== END OF STACKTRACE =========== {code}
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
- Text is unreadable when DLSS is applied to the Canvas with Render Mode set to World Space
- NullReferenceException errors appear in the Console when changing the values of Visual Effect Control Clip Events' Attributes
- Crash on TextCore::OTL_TableReader::GetOpenTypeLayoutTables when using Japanese Font as TMP Fallback
- TreeView.AddItem performance regression when opening EditorWindow
- Shadows are not visible in Player when using DX12 with Forward+ or Deferred+ rendering in URP
Resolution Note (fix version 2023.2.0a10):
Resolved with this PR: https://github.cds.internal.unity3d.com/unity/unity/pull/25580
Resolution Note (fix version 2023.1.0b11):
Resolved with this PR: https://github.cds.internal.unity3d.com/unity/unity/pull/25839