Author Topic: UIAnchor not allowing me to save scene  (Read 4489 times)

nzen

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 30
    • View Profile
UIAnchor not allowing me to save scene
« on: June 26, 2013, 06:52:32 AM »
I get an asterisk in the top-left of unity, showing that the scene is unsaved. When exiting it asks if I want to save. It does save properly, but the asterisk remains.

If I disable the UIAnchor on all of my Anchors it will save. Also, if I add a new UI with camera/anchor/panel auto-attached, it saves too (as long as my previous UIAnchor's are disabled).

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: UIAnchor not allowing me to save scene
« Reply #1 on: June 26, 2013, 07:42:40 AM »
The UIAnchors modify the position of the transforms, which makes the scene modified. If you've saved before, then it should be fine.

nzen

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 30
    • View Profile
Re: UIAnchor not allowing me to save scene
« Reply #2 on: June 26, 2013, 09:02:35 AM »
I managed to fix it by resetting the Panel position/scale. Somehow it had changed to strange decimal values when I duplicated it.

I also added an empty gameobject to the panel, and attached a UIAnchor to it.

One of those two changes fixed it.