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
- 2D Renderer Breaks When Animating Material Property with MaterialPropertyBlock
- PlayModeStateChange.ExitingPlayMode is not logged when Play Mode is exited due to recompilation
- Crash on `anonymous namespace'::PrepareTreesAndWriteWindParamsJobData::Execute when entering Play Mode on a specific project
- Errors "InvalidOperationException: Trying to use a texture (_InternalGradingLut)..." and “Render Graph Execution error” shown and Scene turns black when 16 or more Render Objects are used
- GameObjects in the Game View are rendered differently than in the Scene View when the Rendering Path is set to "Deferred" and Screen Space Shadows Renderer Feature is added
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