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
- Sprite Masks affect Sprite Renderers outside their range when a Light2D is present with specific Target Sorting Layers selected
- URP Lens Flare is rendered in the wrong position when Render Graph Compatibility Mode is enabled and Render Scaling is not 0
- Editor crashes on DrvPresentBuffers when loading RenderDoc while using OpenGLES 3.0 or OpenGLES 2.0 Graphics API
- [Test Runner] Incorrect name under Window > Panel after project restart
- [iOS] Crash when using fallback fonts created at runtime
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