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

Question Two questions i need answered please Unity friends.

Discussion in 'AR' started by Tycz, Nov 29, 2022.

  1. Tycz

    Tycz

    Joined:
    Jun 6, 2021
    Posts:
    6
    First question, I have made my first AR app which tracks planes and spawns selected object on to it.
    Everything works fine... Until i add a canvas(Screen space Overlay) with buttons on it.

    At this point my Plane Tracking stops working entirely. Any ideas as to why that might be the case?

    Second question, I have created a prefab out of several models but the pivot point is in the center of the object?
    I added an empty game object and put the pivot at the bottom and then threw the prefab into it expecting the pivot of the parent object to become my main pivot.
    This didn't work and the pivot is still in the center.. Any Ideas as to what could be causing both these issues would be a great help.

    If you need screenshots of anything let me know.
     
  2. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    1,018
  3. Tycz

    Tycz

    Joined:
    Jun 6, 2021
    Posts:
    6
    Question 1: Before i added the Canvas and Buttons the plane tracking would appear on walls and floors and surfaces.
    After i added the Canvas and Buttons the Plane Tracking doesn't show up in the test build but a previous iteration of my project with no canvas or buttons works perfectly.(I'm too inexperienced to tell you anything other than what I have said for Q1)

    Question 2: You solved this issue for me, Thanks.
     
  4. Tycz

    Tycz

    Joined:
    Jun 6, 2021
    Posts:
    6
  5. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    1,018
    Unfortunately you haven't provided enough information to effectively assess your plane tracking issue. Maybe if you shared a screen recording of the issue it would help the community understand better?
     
  6. Tycz

    Tycz

    Joined:
    Jun 6, 2021
    Posts:
    6
    Redoing the tutorial now, Will ask my mentors when i see them. Thanks!