Search Unity

  1. Unity 2019.4 has been released.
    Dismiss Notice
  2. 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
  3. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

AR Foundation object stability

Discussion in 'AR/VR (XR) Discussion' started by Pawuchock, Apr 9, 2020.

  1. Pawuchock

    Pawuchock

    Joined:
    Nov 6, 2014
    Posts:
    15
    Hey Guys!
    Im using 2019.3.1f1 Unity, Universal Rerender Pipeline 7.1.8, both ARFoundation and ARCore XRR plugins are 3.1.0 preview 7. (also tried to update to the latest version).
    My case is: i'm switching between 3D and AR (plane detection) view of the 3dmodel.
    3D model is loaded from the server and scaled (localscale)
    (Previously i noticed that scaling ARsession Origin makes my virtual plane "dissapear/occlude" under my physical floor, so im scaling the object right now).
    Switching AR on/off: disable/enable ARPlaneManager and ARPointCloudManager components and also turning off ARCamera GameObject.
    When the object is placed on virtual plane - turning off the trackables from ARPlaneManager and ARPointCloudManager to make virtual plane invisible.
    So after all that explenation, here is my problem:
    After the object is placed on virual plane, if i walk around or move my phone to the left/right, my model is not sticking to the point a placed it, but it also moving a bit.
    In ARFoundation samples augmented model is "glued" more solid to the point it was placed.
    Maybe i could have missed something?
    Maybe object scaling messed something up?
    Or my disabling/enabling stuff make the lag?
    P.S.
    Does ARcore and ARkit supports Universal Render pipeline?
    And also is there any possible problems with URP and arfoundation (android/ios) ?
     
  2. Pawuchock

    Pawuchock

    Joined:
    Nov 6, 2014
    Posts:
    15
  3. unity_S9l5b9iRtYBRug

    unity_S9l5b9iRtYBRug

    Joined:
    May 18, 2020
    Posts:
    2
    I am facing same issue. Have you found any solution?
     
unityunity