Search Issue Tracker

Fixed in [Package] Not a package issue

Votes

4

Found in [Package]

2018.2, 2018.3

Issue ID

1068999

Regression

No

Hang on iOS using ARKit XR Plugin

Package: ARKit

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 1Crash, freeze, data loss, work stops

iOS can hang with an active ARSession using Unity 2018.2.2f1, AR Foundation 1.0.0-preview.17 and ARKit XR Plugin 1.0.0-preview.13. At the time of the hang, the callstack is

WaitForSignal [inlined]
WaitForSignal [inlined]
WaitForSignal [inlined]
WaitForSignal [inlined]
::AcquireThreadOwnership()
XREngineCallbacks_BeginFrame
::Forward()
::PlayerSendFrameStarted()
::Forward()
::ExecutePlayerLoop()
::ExecutePlayerLoop()
::PlayerLoop()
::UnityPlayerLoopImpl()
::UnityRepatin()

Fixed in 2018.3.0b6

Comments (3)

  1. 457934502932189d7645ba18fd688189?d=mm

    Mjubbi

    Dec 19, 2018 07:41

    Still occurs in 2018.3.0f2 with ARKit XR Plugin 1.0.0-preview.20

  2. Ee49147ccfc54a3caf25b7df1f2cf9b8?d=mm

    leetful

    Nov 07, 2018 19:40

    Still occuring in Unity 2018.2.13f1, but appears fixed in 2018.3.0b8.

  3. 97d4a343a4c4181de8a0551fba5461ef?d=mm

    austin_unity382

    Oct 25, 2018 18:01

    Hello,

    On Unity 2018.1.2f1 and com.unity.xr.arkit 1.0.0-preview.16 we're still seeing this issue using an iPhone SE on iOS 12.0.1. Below is the call stack for the main thread:

    Thread 1 Queue : com.apple.main-thread (serial)
    #0 0x000000018fda1f0c in semaphore_wait_trap ()
    #1 0x000000018fbf0fc4 in _dispatch_sema4_wait$VARIANT$mp ()
    #2 0x000000018fbf1a48 in _dispatch_semaphore_wait_slow ()
    #3 0x0000000103f4fe7c in WaitForSignal [inlined] at /Users/builduser/buildslave/unity/build/Runtime/Threads/Semaphore.h:24
    #4 0x0000000103f4fe74 in WaitForSignal [inlined] at /Users/builduser/buildslave/unity/build/Runtime/GfxDevice/threaded/GfxDeviceWorker.cpp:228
    #5 0x0000000103f4fe74 in WaitForSignal [inlined] at /Users/builduser/buildslave/unity/build/Runtime/GfxDevice/threaded/GfxDeviceClient.cpp:4416
    #6 0x0000000103f4fe60 in ::AcquireThreadOwnership() at /Users/builduser/buildslave/unity/build/Runtime/GfxDevice/threaded/GfxDeviceClient.cpp:2838
    #7 0x0000000103f2ae94 in XREngineCallbacks_BeginFrame [inlined] at /Users/builduser/buildslave/unity/build/Modules/XR/Public/XREngineCallbacks.cpp:27
    #8 0x0000000103f2ae4c in ::Forward() at /Users/builduser/buildslave/unity/build/Modules/XR/Public/XREngineCallbacks.cpp:59
    #9 0x0000000103bb867c in ::PlayerSendFrameStarted() at /Users/builduser/buildslave/unity/build/Runtime/Misc/Player.cpp:951
    #10 0x0000000103bb95e8 in ::ExecutePlayerLoop() at /Users/builduser/buildslave/unity/build/Runtime/Misc/PlayerLoop.cpp:337
    #11 0x0000000103bb9610 in ::ExecutePlayerLoop() at /Users/builduser/buildslave/unity/build/Runtime/Misc/PlayerLoop.cpp:353
    #12 0x0000000103bb976c in ::PlayerLoop() at /Users/builduser/buildslave/unity/build/Runtime/Misc/PlayerLoop.cpp:407
    #13 0x00000001039e8348 in ::UnityPlayerLoopImpl() at /Users/builduser/buildslave/unity/build/PlatformDependent/iPhonePlayer/LibEntryPoint.mm:262
    #14 0x000000010293e190 in ::UnityRepaint() at /Users/developer/Desktop/build/Classes/UnityAppController+Rendering.mm:263
    #15 0x000000010293e07c in ::-[UnityAppController(Rendering) repaintDisplayLink]() at /Users/developer/Desktop/build/Classes/UnityAppController+Rendering.mm:76

All about bugs

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