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
- Standard Unity Materials and Shaders become corrupted after importing specific Asset Packages
- [Linux][OpenGL][Vulkan] Draw calls are not shown in the Event List when taking a capture of a frame with RenderDoc
- Inaccurate collision detections when Rigidbody Collision Detection is set to "Continuous" or "Continuous Dynamic"
- Crash on Object::IncrementPersistentDirtyIndex when upgrading project version
- [iOS] Multiple Xcode project instances created before opens up when performing Build and Run for iOS Platform
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