Search Unity

Game hangs on exit on PC

Discussion in 'Editor & General Support' started by adbourdages, Feb 5, 2018.

  1. adbourdages

    adbourdages

    Joined:
    Jul 8, 2012
    Posts:
    75
    After an Application.Quit(), the game will hang on PC ~80% of the time. After 10-15 minutes it will eventually quit. This doesn't happen to every player, just a few.

    Has anyone run into a similar issue? This is with Unity 5.4.3p4 on PC.

    Here's the thread stack:
    21244 < 0.01 1,897,544 PinballDeluxeReloaded.exe!?TransferResourceImage@RemapPPtrTransfer@@QAEXW4ActiveResourceImage@@PBDAAUStreamingInfo@@PAXI@Z+0x3e95b
    ntoskrnl.exe!memset+0x61a
    ntoskrnl.exe!KeWaitForMultipleObjects+0xd52
    ntoskrnl.exe!KeWaitForSingleObject+0x19f
    ntoskrnl.exe!__misaligned_access+0xbd0
    ntoskrnl.exe!__misaligned_access+0x186d
    ntoskrnl.exe!KeWaitForMultipleObjects+0xf5d
    ntoskrnl.exe!KeWaitForMultipleObjects+0x26a
    ntoskrnl.exe!NtWaitForSingleObject+0x40f
    ntoskrnl.exe!IoReportTargetDeviceChange+0x1241
    ntoskrnl.exe!KeSynchronizeExecution+0x3a23
    wow64cpu.dll!TurboDispatchJumpAddressEnd+0x6c0
    wow64cpu.dll!TurboDispatchJumpAddressEnd+0xf5
    wow64.dll!Wow64SystemServiceEx+0x1ce
    wow64.dll!Wow64LdrpInitialize+0x42a
    ntdll.dll!RtlUniform+0x6e6
    ntdll.dll!EtwEventSetInformation+0x1da09
    ntdll.dll!LdrInitializeThunk+0xe
    ntdll.dll!NtWaitForMultipleObjects+0x15
    kernel32.dll!WaitForMultipleObjectsEx+0x8e
    mono.dll!mono_thread_suspend_all_other_threads+0x19f
    PinballDeluxeReloaded.exe!?AwakeFromLoad@MonoManager@@UAEXW4AwakeFromLoadMode@@@Z+0x9f
    PinballDeluxeReloaded.exe!?GetSceneHandle@Renderer@@QAEHXZ+0x24af
    PinballDeluxeReloaded.exe!?PlayerWinMain@@YAHPAUHINSTANCE__@@0PADH@Z+0x8de
    PinballDeluxeReloaded.exe!?TransferResourceImage@RemapPPtrTransfer@@QAEXW4ActiveResourceImage@@PBDAAUStreamingInfo@@PAXI@Z+0xec48
    PinballDeluxeReloaded.exe!?TransferResourceImage@RemapPPtrTransfer@@QAEXW4ActiveResourceImage@@PBDAAUStreamingInfo@@PAXI@Z+0x3e908
    kernel32.dll!BaseThreadInitThunk+0x12
    ntdll.dll!RtlInitializeExceptionChain+0x63