Search Unity

Draw calls improvment and some UI strange bugs

Discussion in 'UGUI & TextMesh Pro' started by kshaja, Sep 17, 2015.

  1. kshaja

    kshaja

    Joined:
    Sep 22, 2010
    Posts:
    146
    Hi,
    I have ported my 3D game built only with GUI ( IN CUBE ACTION ) to the new 5.2 version and you can see the results here
    http://forum.unity3d.com/threads/3d-game-built-entirely-with-the-new-unity-gui.352046/#post-2299282
    Big improvements in draw calls!

    Bugs:
    Some UI elements were just missing ( text, images ),
    some sliders showed strange behavior ( did not showed the sliding line all the way, if the slider was from 0-1, then if the value was <.3 slider line just vanished ),
    some buttons were flicking wrong when mouse was getting in or out of them.

    Every problematic UI element was world canvas, it had some position in 3D.
    Every single problem was solved with the same fix.
    I had to change ONE of the rect transform rotation, from 0 to any other value.
    0.000001 was also solving the problem.
     
  2. Tim-C

    Tim-C

    Unity Technologies

    Joined:
    Feb 6, 2010
    Posts:
    2,163
    Do you a copy of the project folder from 5.1 so we can take a look at it importing fresh into 5.2?
     
  3. kshaja

    kshaja

    Joined:
    Sep 22, 2010
    Posts:
    146
    Just to be on the same side.
    You would like me to open the project in 5.1 and then to copy that project and open it in 5.2.
    Not like I did from 5.0 to 5.2. OK i ll try that.
     
  4. phil-Unity

    phil-Unity

    Unity UI Lead Developer Unity Technologies

    Joined:
    Nov 23, 2012
    Posts:
    1,206
    He is asking for you to give us you pre 5.2 copy. If you used 5.0 then give us the 5.0 project so we can open it in 5.2 ourselves and go through the upgrade path.
     
  5. kshaja

    kshaja

    Joined:
    Sep 22, 2010
    Posts:
    146
    Sure, no problem.
    @Tim C I have send you file in the new conversation.
     
unityunity