Search Unity

Bug in Unity 4.6.2 with placing several canvas elements?

Discussion in 'Editor & General Support' started by grka, Feb 1, 2015.

  1. grka

    grka

    Joined:
    Jan 14, 2015
    Posts:
    80
    I just updated to 4.6.2 and opened my project. I have a MainCanvas in my Project which contains several child canvas elements. These were placed out of view in the editor and are only moved into the view when the player clicks somewhere.

    When I opened my project after the update all my canvas elements were moved into the player view and the size was changed. I moved them back to "out of view" but then I reopened the project they were placed at the wrong place again.
     
  2. grka

    grka

    Joined:
    Jan 14, 2015
    Posts:
    80
    I tried 4.6.1p4 but it mess up with my canvas menues the same strange way.
     
  3. Jaimi

    Jaimi

    Joined:
    Jan 10, 2009
    Posts:
    6,208
    This is a known problem with nested canvases. However, I'm not really sure why people have them. Seems like they are mostly useful for scaling your UI, everything else looks like it should be done with game objects or panels.
     
  4. grka

    grka

    Joined:
    Jan 14, 2015
    Posts:
    80
    English isn't my native language so please forgive me my question but do you need with nested canvas the fact, that I use a main canvas that contains other canvases or does it mean using canvas in general? Would it already help to remove the main canvas and have just several different canvases parallel to each other?