Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[BUG] UICanvas position not updating to camera position

Discussion in 'Project Tiny' started by Ryynosaur, May 6, 2019.

  1. Ryynosaur

    Ryynosaur

    Joined:
    May 6, 2019
    Posts:
    1
    When the camera attached to a UICanvas is not located at x:0 y:0, the UICanvas doesn't render correctly.
    I've found that the UICanvas will display as if the camera was at x:0 y:0.

    To reproduce:

    - Open the "UILayoutDemo" project included in the samples.
    - update the "Camera" entity's transform position X to 25.
    - run the project.
    - you will notice that the UI is still displaying as if the camera never moved.


    Does anyone have a work around for this? I want the UI to appear above a character I have who has a camera that follows him.

    Thanks for the help in advance