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 app crashes when switching to scene from main menu

Discussion in 'AR' started by kyllian_unity, May 3, 2019.

  1. kyllian_unity

    kyllian_unity

    Joined:
    Sep 21, 2018
    Posts:
    3
    So for a while, I've been working on a project where multiple players will interact with each other using AR. I created a main menu which is also functioning as a server on a PC. The phones are the clients. The main menu isn't in AR, but when I switch to one of the AR scenes the app just crashes.

    Online, I've seen people having problems with the Reset() part of the code, but that is only when they are launching the AR scene for the second time. In my case, it already happens on the first time switching.

    Does anyone have an idea how to fix this? I'm kind of on a deadline.
     
  2. tdmowrer

    tdmowrer

    Joined:
    Apr 21, 2017
    Posts:
    605
    Can you provide
    • A callstack for the crash
    • What framework (e.g., ARFoundation)?
    • What framework version(s)?
    • What platform(s)?
    • What platform OS version(s)?