Search Unity

Unity 2018.4.35f1 Steam Overlay Crash

Discussion in 'macOS' started by giawa, Jun 8, 2021.

  1. giawa

    giawa

    Joined:
    Dec 6, 2015
    Posts:
    15
    Hey there,

    With the recent Steam update we have found one of our games that is built on Unity 2018.4 LTS has begun crashing after the resolution selection. We suspect it is likely the Steam overlay, and see this as the crashing stack trace:

    Thread 0:: tid_307  Dispatch queue: com.apple.main-thread
    0 libsystem_kernel.dylib 0x00007fff6fea8256 semaphore_wait_trap + 10
    1 libdispatch.dylib 0x00007fff6fd26bd9 _dispatch_sema4_wait + 16
    2 libdispatch.dylib 0x00007fff6fd2739f _dispatch_semaphore_wait_slow + 98
    3 UnityPlayer.dylib 0x0000000109fb6ffe 0x109ab9000 + 5234686
    4 UnityPlayer.dylib 0x000000010a24f7cb 0x109ab9000 + 7956427
    5 UnityPlayer.dylib 0x000000010a249b2e 0x109ab9000 + 7932718
    6 UnityPlayer.dylib 0x000000010a249b72 0x109ab9000 + 7932786
    7 UnityPlayer.dylib 0x000000010a249d83 0x109ab9000 + 7933315
    8 UnityPlayer.dylib 0x000000010a6ad958 0x109ab9000 + 12536152
    9 com.apple.Foundation 0x00007fff4603e7bb __NSFireTimer + 80
    10 com.apple.CoreFoundation 0x00007fff43dae6f0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
    11 com.apple.CoreFoundation 0x00007fff43dae29c __CFRunLoopDoTimer + 851
    12 com.apple.CoreFoundation 0x00007fff43dadde2 __CFRunLoopDoTimers + 330
    13 com.apple.CoreFoundation 0x00007fff43d8ef26 __CFRunLoopRun + 2130
    14 com.apple.CoreFoundation 0x00007fff43d8e482 CFRunLoopRunSpecific + 455
    15 com.apple.HIToolbox 0x00007fff42fed1ab RunCurrentEventLoopInMode + 292
    16 com.apple.HIToolbox 0x00007fff42fecee5 ReceiveNextEventCommon + 603
    17 com.apple.HIToolbox 0x00007fff42fecc76 _BlockUntilNextEventMatchingListInModeWithFilter + 64
    18 com.apple.AppKit 0x00007fff4138477d _DPSNextEvent + 1135
    19 com.apple.AppKit 0x00007fff4138346b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361
    20 gameoverlayrenderer.dylib 0x0000000109a87d12 0x109a6d000 + 109842
    21 com.apple.AppKit 0x00007fff4137d588 -[NSApplication run] + 699
    22 com.apple.AppKit 0x00007fff4136cac8 NSApplicationMain + 777
    23 UnityPlayer.dylib 0x000000010a6bafee PlayerMain(int, char const**) + 1518
    24 libdyld.dylib 0x00007fff6fd733d5 start + 1


    Is anyone else running into this, and is there any suggested fix? We do not see this consistently for all Mac users. This particular crash log came from Mac OS X 10.14.6 (18G8022).

    The call to
    20 gameoverlayrenderer.dylib 0x0000000109a87d12 0x109a6d000 + 109842 is what has us suspecting Steam. Another game title using Unity 5.4.x is unaffected by this new Steam overlay (confirmed by people who plays both games).
     
  2. giawa

    giawa

    Joined:
    Dec 6, 2015
    Posts:
    15
    We've gotten a few players to try enabling/disabling the Steam overlay and it has no effect, the game continues to crash. We haven't modified this build recently, and it only started crashing after the recent Steam update, so we're not too sure where to go with this at the moment.

    If the game is launched directly (instead of via Steam) then it loads fine without crashing.
     
  3. giawa

    giawa

    Joined:
    Dec 6, 2015
    Posts:
    15
    Steam just released a new version of their app and it appears to now be fixed.