Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

AR Foundation is crashing Unity

Discussion in 'AR' started by BinaryBanana, Apr 25, 2019.

  1. BinaryBanana

    BinaryBanana

    Joined:
    Mar 17, 2014
    Posts:
    81
    Hi,
    I noticed AR Foundation is crashing Unity Editor when run in remote tool and in runtime the app, when I resume the AR Session. It's triggered by Newtonsoft and the usage of dynamic or reflection.

    Basically, every time I call deserialize with Newtonsoft, then pause and resume ARSession, the Unity editor crashes on setting light estimation (true/false flag) for the AR Camera subsystem.