Search Issue Tracker

Won't Fix

Votes

1

Found in

2023.2.12f1

2023.3.0b9

Issue ID

UUM-65046

Regression

Yes

[MacOS] Editor crashes when baking scene lighting using GPU lightmapper

--

-

*Steps to reproduce:*
# Create a new 3D project
# Add a Plane object to the Scene and mark it as Static
# Open the Lighting settings window
# Create a new Lighting settings object for the Scene
# Switch to Progressive GPU lightmapper under the Lightmapping settings section
# Generate lighting

*Actual results:* The editor crashes when the lightmapping process starts

*Expected results:* The scene's lighting is baked successfully

*Reproducible with versions:* 2023.1.0b7, 2023.2.12f1, 2023.3.0b9

*Not reproducible with versions:* 2021.3.32f1, 2022.3.20f1, 2023.1.0b6

*Reproduced on (OS):* macOS 14.2.1

*Not reproduced on (OS):* Windows 11

*Notes:*
* Reproduced with built-in and Universal render pipelines

*Crash stack:*

Obtained 19 stack frames.
Thread 0x700002e96000 may have been prematurely finalized
#0  0x007ff81144e7a2 in __pthread_kill
Thread 0x700002e96000 may have been prematurely finalized
#1  0x007ff8113a5a49 in abort
Thread 0x700002e96000 may have been prematurely finalized
#2  0x007ff923e5852f in gpusGenerateCrashLog
Thread 0x700002e96000 may have been prematurely finalized
#3  0x00000194fb6004 in gpusKillClientExt
Thread 0x700002e96000 may have been prematurely finalized
#4  0x007ff923e58ecc in gpusQueueSubmitDataBuffers
Thread 0x700002e96000 may have been prematurely finalized
#5  0x00000194f84946 in glrAMDCompSubmitPackets
Thread 0x700002e96000 may have been prematurely finalized
#6  0x00000194f848aa in glrAMDFlush
Thread 0x700002e96000 may have been prematurely finalized
#7  0x00000194fda520 in glrAMDExecuteKernel
Thread 0x700002e96000 may have been prematurely finalized
#8  0x00000194fdd499 in gldExecuteKernel
Thread 0x700002e96000 may have been prematurely finalized
#9  0x007ffa2e26bdd0 in clFlush
Thread 0x700002e96000 may have been prematurely finalized
#10 0x007ffa2e283f26 in clSetEventCallback
Thread 0x700002e96000 may have been prematurely finalized
#11 0x007ffa2e285e0a in clCreateCommandQueueWithPropertiesAPPLE
Thread 0x700002e96000 may have been prematurely finalized
#12 0x007ff8112df59a in _dispatch_client_callout
Thread 0x700002e96000 may have been prematurely finalized
#13 0x007ff8112e5668 in _dispatch_lane_serial_drain
Thread 0x700002e96000 may have been prematurely finalized
#14 0x007ff8112e6100 in _dispatch_lane_invoke
Thread 0x700002e96000 may have been prematurely finalized
#15 0x007ff8112efaee in _dispatch_root_queue_drain_deferred_wlh
Thread 0x700002e96000 may have been prematurely finalized
#16 0x007ff8112ef3fd in _dispatch_workloop_worker_thread
Thread 0x700002e96000 may have been prematurely finalized
#17 0x007ff811483c47 in _pthread_wqthread
Thread 0x700002e96000 may have been prematurely finalized
#18 0x007ff811482b97 in start_wqthread
Launching bug reporter
Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created.

  1. Resolution Note:

    We are no longer able to reproduce this issue. The two Unity employees who were, at some point, able to reproduce this issue, both cannot reproduce it after upgrading their MacOS versions. We therefore believe this was caused by a bug in MacOS's drivers which seems to have been fixed somewhere between MacOS 14.2.1 and 14.3.1.

Comments (1)

  1. TeorikDeli

    Feb 27, 2024 11:42

    I also created a bug report from 2021.3.35f1 (no response from QA yet), because it's happening in 2021 LTS too.

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.