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

[4.6.1f1] UGUI is offset while in windows build

Discussion in 'UGUI & TextMesh Pro' started by arturaz, Dec 16, 2014.

  1. arturaz

    arturaz

    Joined:
    Mar 28, 2013
    Posts:
    30
    Last edited: Dec 16, 2014
  2. casimps1

    casimps1

    Joined:
    Jul 28, 2012
    Posts:
    254
    I'm seeing this exact problem as well (also on 4.6.1f1). Everything works great on iOS, Android, and in-editor. However, Windows and Web builds have that corner offset. Interestingly, the colliders all seem to be positioned correctly. It's just the visual representation that is offset.

    I'm not sure that it's related to the DirectX button bug though. I hadn't touched that when I noticed mine was offset.

    Regardless, does anyone know a workaround for this until they get a fix out?
     
  3. casimps1

    casimps1

    Joined:
    Jul 28, 2012
    Posts:
    254
    Update - I figured out what the problem was. I didn't have a Camera object in my scene.

    I was building a demo scene for a Unity UI package so I didn't really have a need for a Camera, but as soon as a Camera was activated, everything snapped into place correctly.