Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Unity wants to learn about your experiences working on a Unity project today. We'd like to hear from you via this survey.
    Dismiss Notice
  3. Unity 2020 LTS & Unity 2021.1 have been released.
    Dismiss Notice
  4. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  5. Read here for Unity's latest plans on OpenXR.
    Dismiss Notice

Problem when trying to keep ARAnchor through Scenetransition and then repositioning

Discussion in 'AR' started by neubacherkuni, Feb 8, 2020.

  1. neubacherkuni


    Oct 31, 2019
    for my final uni project I am try to build a collaborative VR-AR Game and I am using ARCore for the ARpart, specifically the plane-tracking.
    My project consists off a few levels and they get loaded as new scenes, which works fine, I am also keeping all the AR dependency-object around.
    I have given the user a button that enables them to reposition the AR object on the plane by touching the plane. And it works as expected and fine in the first scene.
    But as soon as I load into the next scene, when I try to reposition my AR object it instead moves the AR-Plane-visualizers around, while the object stays in place. And when I stop touching, the planes snap back to the original position.

    And I don't really know how to fix it :( Has anybody else encoutered this problem? Or has any suggestion on how to fix it? Maybe I need to reload some code in the new scene or something? D: