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

Beta 5: RectTransform anchors/pivots broken?

Discussion in '2018.1 Beta' started by Lardalot, Feb 1, 2018.

  1. Lardalot

    Lardalot

    Joined:
    Jun 19, 2013
    Posts:
    10
    Just installed beta 5, a lot of my UI elements are now all over the place, as if the anchors/pivots have been messed up.

    I've gone back to beta 2 and it's all good now
     
  2. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    Could you please file a bug report with a minimal reproduction project for this issue and reply in here with the case #? You can find more information on how to submit bug reports here.
     
  3. holgk

    holgk

    Joined:
    Aug 26, 2013
    Posts:
    10
    I had a simmilar (or same) issue with the RectTransform too. Every time i changed the values of a RectTransform that was already a part of a prefab the values changed to a "random" (allways the same) value. But i only had this issue in beta 4. Today i upgraded to beta 5 and everything is working as it should.
     
  4. Lardalot

    Lardalot

    Joined:
    Jun 19, 2013
    Posts:
    10
    Case #996627
    It took a while to get a minimal case, I cant reply to the case ticket, but I after I submitted it I removed the Vertical Layout Group and the problem still occurs.
     
    Pica and LeonhardP like this.
  5. Lardalot

    Lardalot

    Joined:
    Jun 19, 2013
    Posts:
    10
    Here's a repro demo.
     
  6. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    Thanks a lot! QA was able to reproduce the issue.
     
    Pica, Lardalot and JakubSmaga like this.
  7. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    903
    Oh, RectTransform, what Hell doth thou come from?
     
    CDF likes this.
  8. JakubSmaga

    JakubSmaga

    Joined:
    Aug 5, 2015
    Posts:
    417
    Fixed in beta 6?
     
    Last edited: Feb 14, 2018
  9. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    No, I'll post an update once I know more.
     
    JakubSmaga likes this.
  10. z000z

    z000z

    Joined:
    Dec 31, 2014
    Posts:
    96
    I submitted a case just now that may be the same thing as this case 999590. It's a little different in that the rect transform changes on play as well.
     
  11. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    Yes, it's the same issue. Good news: it was fixed yesterday. Should be resolved in b7.
     
    Pica, Lardalot and hippocoder like this.
  12. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Good - you may all have supper tonight.
     
  13. rchapman

    rchapman

    Joined:
    Feb 13, 2014
    Posts:
    105
    Is there a workaround while we wait for b7? This is throwing my UI elements all over the place and making it hard to test.
     
  14. CDF

    CDF

    Joined:
    Sep 14, 2013
    Posts:
    1,311
    I can't take another Unity release with broken UI. I have no more money to pay for therapy.
     
  15. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    903
    UnityEngine.UI *is* the therapy. It keeps making you stronger and more creative. You find workarounds to problems you never thought you would face, every day. You're twice the man today that you were before it.

    Seriously, though, it's a very good framework in its bones. It's just plagued by some performance and stability challenges at its core. Whenever it's destabilized like this, my sincere hope is that it's because they've finally decided to take a risk and tear out those rotten core pieces and try to truly fix them, and that we will emerge from the other side of this temporary pain with something better. Time will tell.
     
    hippocoder likes this.
  16. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    Disabling Canvas Scaler or having the Camera at (0,0,0) position prevents this issue from happening.
     
  17. Player7

    Player7

    Joined:
    Oct 21, 2015
    Posts:
    1,533
    Well that might be worth trying, because downloading b7 seems like a waste time...

    ...another week of disappoint for a proper fix.

     
    PGI2017 and JakubSmaga like this.
  18. JakubSmaga

    JakubSmaga

    Joined:
    Aug 5, 2015
    Posts:
    417
    B8 is out... Is it fixed?
     
  19. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    No, it is fixed in 2017.3 but hasn't been backported to 2018.1 yet...
     
  20. Player7

    Player7

    Joined:
    Oct 21, 2015
    Posts:
    1,533
    I used to think fixes landed in the latest beta's first as priority .. not the other way around, this changes everything... how can you really expect any to test or use beta versions in any meaningful way with projects when they are this broken and left unfixed for weeks at time. And I'd consider ugui layouts getting completely messed up being pretty serious of an issue to resolve.
     
  21. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,609
    The issue completely vanished from the b8 release notes. Neither mentioned in the Known Issues section, nor anywhere else.

    Is this intentional?
     
  22. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    Merging fixes with trunk first and then backporting them to the beta or other supported branches in need of them is the usual approach, but sometimes that's infeasible due to conflicts. In those cases, instead of not fixing an issue at all, they get implemented in other branches first if that's an option.

    Edit: Yes, they are separate issues. That one was fixed in b8.
     
    Last edited: Feb 21, 2018
  23. Player7

    Player7

    Joined:
    Oct 21, 2015
    Posts:
    1,533
    With no visible improvement being made to UGUI workflow or its components in 2018.1 beta, that would explain the breaking down of it and the time issue of getting it fixed due to other changes going on in those areas. Well its annoying to say the least.
     
  24. It's the nature of the beta-testing. Since you aren't using it for production, it's just annoying, but basically harmless.
     
  25. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    The issues have been fixed in 2017.3.1p1 and 2018.1.0b10.
     
    Griffo, Pica and SugoiDev like this.
  26. Pica

    Pica

    Joined:
    May 7, 2013
    Posts:
    6
    Any ETA on 2018.1.0b10?
     
  27. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    584
    They wrote Friday. :)
     
    Griffo and Pica like this.
  28. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    It's not coming out Friday. The usual release cadence is once a week and b9 was released two days ago. Don't expect it earlier than Tuesday.
     
  29. screenname_taken

    screenname_taken

    Joined:
    Apr 8, 2013
    Posts:
    663
    I'm hoping bug Case 1008866 is the same as the one fixed in b10?
     
  30. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
  31. JakubSmaga

    JakubSmaga

    Joined:
    Aug 5, 2015
    Posts:
    417
    Beta 10 is out.
     
  32. JohnSmith1915

    JohnSmith1915

    Joined:
    Apr 21, 2016
    Posts:
    143
    solved in beta 10 for me.
     
    a1-programmer likes this.
  33. DrabanL

    DrabanL

    Joined:
    Nov 13, 2014
    Posts:
    41
    Same for me, thanks
     
  34. Player7

    Player7

    Joined:
    Oct 21, 2015
    Posts:
    1,533
    10 weeks later and 2018.1 beta might actually be usable now cool :)
     
  35. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    584
    Except that we lost all buttons and script references in inspector. ( Had to drag them in manually once again ) Seems like it is working. Trying now Android build. ( OSX Standalone is ok )
     
  36. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    584
    Works on Android.
     
  37. screenname_taken

    screenname_taken

    Joined:
    Apr 8, 2013
    Posts:
    663
    Beta 10 solved *part* of my problem. The UI now looks correct, but when the project launches either in the editor or as a build, the resolution drop down menu doesn't show the correct resolution. (Which it does in U2017.3.1p3 as it should)
     
  38. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    Could you please submit a report + repro for this?
     
  39. screenname_taken

    screenname_taken

    Joined:
    Apr 8, 2013
    Posts:
    663
  40. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    Thanks, no, that one's sufficient. From the sound of your description I thought it was yet another issue.
    It's resolution process can be followed here: https://issuetracker.unity3d.com/is...-on-esc-click-in-play-mode-cause-canvas-issue