Search Issue Tracker

Fixed

Fixed in 2022.2.0b4, 2023.1.0a1

Votes

0

Found in

2022.2.0a13

2023.1.0a1

Issue ID

UUM-1207

Regression

Yes

Crash in OpenCLRenderLightProbeBuffers after pressing Generate Lighting button

--

-

*Steps to repro:*
# Open the attached project and SampleOutdoorsA scene on the macOS machine;
# In the Lighting window (Window>Rendering>Lighting) press Generate Lighting button.

*Expected result:*

Editor doesn't crash. Baking finishes as expected.

*Actual result:*

Editor crashes. See attached video and Editor.log file.

Last calls from the stacktrace: 

    ^0x1518c68ee - /Applications/2022.2/Unity 2022.2.0a15_f172afd4509f/Unity.app/Contents/Frameworks/MonoBleedingEdge/MonoEmbedRuntime/osx/libmonobdwgc-2.0.dylib : mono_dump_native_crash_info^
    ^0x15186cba3 - /Applications/2022.2/Unity 2022.2.0a15_f172afd4509f/Unity.app/Contents/Frameworks/MonoBleedingEdge/MonoEmbedRuntime/osx/libmonobdwgc-2.0.dylib : mono_handle_native_crash^
    ^0x1517e90a5 - /Applications/2022.2/Unity 2022.2.0a15_f172afd4509f/Unity.app/Contents/Frameworks/MonoBleedingEdge/MonoEmbedRuntime/osx/libmonobdwgc-2.0.dylib : mono_sigsegv_signal_handler_debug^
    ^0x7ff8034e0dfd - /usr/lib/system/libsystem_platform.dylib : _sigtramp^
    ^0x0 - Unknown^
    ^0x106bdc4c3 - /Applications/2022.2/Unity 2022.2.0a15_f172afd4509f/Unity.app/Contents/MacOS/Unity : _ZN29OpenCLRenderLightProbeBuffers32WaitForAndClearAsyncReadbackDataEv^
    ^0x106c1d9e3 - /Applications/2022.2/Unity 2022.2.0a15_f172afd4509f/Unity.app/Contents/MacOS/Unity : _ZN34RadeonRaysBakeLightProbesTechnique12FreeTexturesEv^
    ^0x106c1d41c - /Applications/2022.2/Unity 2022.2.0a15_f172afd4509f/Unity.app/Contents/MacOS/Unity : _ZN34RadeonRaysBakeLightProbesTechnique23DetachHeavyDataPointersEv^
    ^0x106bcc06b - /Applications/2022.2/Unity 2022.2.0a15_f172afd4509f/Unity.app/Contents/MacOS/Unity : _ZN28BakeJobReleaseLightProbeData7ExecuteEPb^
    ^0x106b77a40 - /Applications/2022.2/Unity 2022.2.0a15_f172afd4509f/Unity.app/Contents/MacOS/Unity : _ZN18BakeContextManager14UpdateFunctionEv^
    ^0x106b77016 - /Applications/2022.2/Unity 2022.2.0a15_f172afd4509f/Unity.app/Contents/MacOS/Unity : _ZN18BakeContextManager22DispatchUpdateFunctionEPv^
    ^0x1056a32db - /Applications/2022.2/Unity 2022.2.0a15_f172afd4509f/Unity.app/Contents/MacOS/Unity : _ZN6Thread16RunThreadWrapperEPv^
    ^0x7ff8034cb4e1 - /usr/lib/system/libsystem_pthread.dylib : _pthread_start^
    ^0x7ff8034c6f6b - /usr/lib/system/libsystem_pthread.dylib : thread_start^

Regression introduced in Version 2022.2.0a13.

_Notes:_
* Reproducible in Version 2022.2.0a15, 2022.2.0a13;
* Not reproducible in Version 2022.2.0a12, 2022.1.0f1, 2021.3.3f1;
* Reproducible on macOS 12.13.1 with AMD GPU; not reproducible on Windows;
* The issue is also reproducible in the HDRP sample scene;
* The issue is reproducible both when launching on-demand bake via Generate Lighting button and in auto-baking mode;
* The issue is not reproducible consistently.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.