Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

DirectX 12 + VR = Crash on Start, DirectX 11 fine

Discussion in '5.4 Beta' started by phr00t, Jun 30, 2016.

  1. phr00t

    phr00t

    Joined:
    Apr 19, 2016
    Posts:
    41
    I know DirectX is listed as experimental, however, it is suppose to be stable for 5.4, correct? Anyway, my VR game runs fine if it runs with DirectX 11, but crashes shortly after starting in DirectX 12. It is a single-pass OpenVR game, running on Window 10 x64 with Unity 5.4b23 x64. The error_log stack trace looks like this:

    0x00007FF66A9BD405 (ff) RenderSettings::GetLinearFogEnd
    0x00007FF66A9B139D (ff) RenderSettings::GetLinearFogEnd
    0x00007FF66A9B020C (ff) RegisterModule_VR
    0x00007FF66A55293D (ff) CallbackArray1<bool>::Invoke
    0x00007FF66A611826 (ff) PlayerWinMain
    0x00007FF66AAC2044 (ff) RectT<int>::GetYMax
    0x00007FF8ABB28102 (KERNEL32) BaseThreadInitThunk

    I'm running only full builds when testing (not using the editor).

    EDIT: Case #810208
     
    Last edited: Jun 30, 2016
  2. phr00t

    phr00t

    Joined:
    Apr 19, 2016
    Posts:
    41
    I was able to reproduce this on an Intel/NVIDIA machine too, using the "null" SteamVR driver. It had the same stack trace. The above crash was on an AMD R9 390 / FX-6300 setup. Same crash occurs with 5.4b24. I have replied to your request for more information with the case # above.