Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Object Spawn on Image Marker

Discussion in 'Unity MARS' started by Prahelika07, Aug 4, 2023.

  1. Prahelika07

    Prahelika07

    Joined:
    Feb 3, 2023
    Posts:
    36
    For the past few days I am trying to spawn an object with the help of Image Marker. The object is getting spawned successfully but the alignment keeps changing. It is not straight as I have set in the Editor. It keeps on tilting.

    I have taken a simple project too where there is only an Image marker and a plane which will be spawned on scanning. The extra thing that I have added is XR Origin, as I needed AR Plane detection and had to add AR Session too.

    I wanted to know if it is an error from my side or it is being faced by others too.

    Thank you in advance for your help.
     
    Last edited: Aug 4, 2023
  2. CiaranWills

    CiaranWills

    Unity Technologies

    Joined:
    Apr 24, 2020
    Posts:
    198
    If the object keeps moving try turning off "Follow Match Updates" on the Set Pose Action component of the proxy.
     
  3. Prahelika07

    Prahelika07

    Joined:
    Feb 3, 2023
    Posts:
    36
    I have tried that too but the issue with that is since it does not updates, it sticks to a single position which is not proper either. It is always tilted.

    My Image Marker is placed as X-Z Coordinates and the plane that is spawned is also in same coordinate. The issue rises when I turn off "Follow Match Updates" is that the value of y increases in either side of the Z-Axis.