Skip to main content
New Participant
April 7, 2017

Unity 5.6.0f3 - Crash in Rift build at startup

Hi,

I recently updated to Unity 5.6.0f3, and now our Rift app crashes on startup with this callstack:


0x00007FF7839F23A4 (App) CameraStackRenderingState::CalculateStereoCameraTargetType

0x00007FF783A07D2E (App) CameraStackRenderingState::BeginRenderingStack

0x00007FF783A446CB (App) RenderManager::RenderCameras

0x00007FF784062E42 (App) PlayerRender

0x00007FF784062EFD (App) `InitPlayerLoopCallbacks'::`28'::PostLateUpdateFinishFrameRenderingstruct::Forward

0x00007FF783D055C3 (App) PlayerLoop

0x00007FF78389B56B (App) PerformMainLoop

0x00007FF78389B75A (App) MainMessageLoop

0x00007FF7838AF029 (App) PlayerWinMain

0x00007FF784249C6C (App) __tmainCRTStartup

0x00007FF922818364 (KERNEL32) BaseThreadInitThunk

0x00007FF9235670D1 (ntdll) RtlUserThreadStart

I went back to Unity 5.6.0f1, rebuilt, and everything works fine.
Is this a known problem, or any fix/workaround?

Thanks,
Olly
    This topic has been closed for replies.

    1 reply

    Participant
    April 21, 2017
    Hi Olly,

    I had the same issue on 5.6.0f3. I don't have 5.6.0f1 to test, but I managed to find a workaround here.

    In short: it seems that when the HMD is not actually on the head, and there's no other camera active, it crashes.

    I added an extra camera to my scene, and set it's depth to lower than any I use and it prevents my build from crashing.

    Hope this helps!