Search Unity

App Crash: Access Violation

Discussion in 'VR' started by Gizmoi, Nov 21, 2016.

  1. Gizmoi

    Gizmoi

    Joined:
    Jan 9, 2013
    Posts:
    327
    I've upgraded to b10, and my HoloLens app now crashes on startup - after a long startup I might add - with the error.
    Any ideas on what causes it or how I can fix it? Nothing has changed prior to upgrading and it worked fine on b5.
     
  2. Unity_Wesley

    Unity_Wesley

    Unity Technologies

    Joined:
    Sep 17, 2015
    Posts:
    558
    The error code doesn't give a lot information, can you provide a call stack from a debug build? Or maybe the unity log from the apps folder?
     
  3. Gizmoi

    Gizmoi

    Joined:
    Jan 9, 2013
    Posts:
    327
    Seems like it was caused by Virtual Reality Supported being disabled. Must have happened during a project upgrade.
    Any chance of a warning for that? I realise it may be difficult as it's a UWP build not a HoloLens build.
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    It crashing like that sounds like a bug, regardless of VR settings. At the very least, we should give you an obvious error. Can we have a bug report on this?