Search Unity

Layout Group in Unity 5.3

Discussion in 'UGUI & TextMesh Pro' started by Ges, Dec 11, 2015.

  1. Ges

    Ges

    Joined:
    Apr 23, 2014
    Posts:
    31
    After update to 5.3 issue was happen when orientation change. It appears on iOS and Android, but not in Editor.
    I have some window with layout group:

    Behaviour on device:

    What could be the problem?

    P.S. I could not repeat this behavior in an empty project, and for obvious reasons I can not give this project. So here I decided to turn instead to make a bug report.
     
  2. SimonDarksideJ

    SimonDarksideJ

    Joined:
    Jul 3, 2012
    Posts:
    1,689
    If you can't replicate in a test project, it's going to be tough for Unity to look at.
    But it is very concerning you are seeing differences between platforms.

    One suggestion is to close your project, delete your Library / Temp / Obj folders (clearing out the cached elements)
    And also build a brand new platform project for each instead of updating the existing one, to see if it's some weird upgrade issue.

    Other than that, you're going to need to replicate it to make any progress.
     
  3. Ges

    Ges

    Joined:
    Apr 23, 2014
    Posts:
    31
    I replicate it. Even in the editor.
    In console:
    Trying to add (Layout Rebuilder for) Content (UnityEngine.RectTransform) for layout rebuild while we are already inside a layout rebuild loop. This is not supported.
    UnityEngine.Canvas:SendWillRenderCanvases()


    Test scene in attach. This is known bug or I need report this?
     

    Attached Files:

  4. SimonDarksideJ

    SimonDarksideJ

    Joined:
    Jul 3, 2012
    Posts:
    1,689
    I'd report it using the unity bug reporter in the editor and see what they say. They are usually fairly quick in responding, especially after a release.
     
  5. Ges

    Ges

    Joined:
    Apr 23, 2014
    Posts:
    31
    Case 753089
     
  6. Ges

    Ges

    Joined:
    Apr 23, 2014
    Posts:
    31
    Is there some of progress with this bug?
     
  7. phil-Unity

    phil-Unity

    Unity UI Lead Developer

    Joined:
    Nov 23, 2012
    Posts:
    1,226
    That bug has been fixed but not sure when it will be public. He have a huge list of changes we are trying to get into a patch but its taking time due to the holidays. If you need a fix quickly you can do download the 5.3 source and remove the offending line you will see no ill effects.
     
  8. Silly_Rollo

    Silly_Rollo

    Joined:
    Dec 21, 2012
    Posts:
    501
    Which line? We don't get details on internal errors.