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
  2. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  3. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

Opening Dropdowns hang the UI when in a Screen Space - Camera Canvas

Discussion in '5.6 Beta' started by Rational-MA, Mar 21, 2017.

  1. Rational-MA

    Rational-MA

    Joined:
    Mar 6, 2015
    Posts:
    59
    When in a canvas with a render mode of Screen Space - Camera, opening dropdowns will hang / block the entire UI.

    Bug Report Filed: (Case 893585) Opening Dropdowns hang the UI when in a Screen Space - Camera Canvas

    If you want to try it out, there's a description and an attached package

    a. Open the DropDownTestScene
    b. Inspect that the canvas is set to render mode Screen Space - Camera
    c. Play the scene and open both dropdowns, one of them will always drop an empty list and will hang the UI until you stop play
    d. Stop play, edit the canvas to render mode Screen Space - Overlay and play the scene again, you will see that the issue no longer exists and you can open both dropdowns with no issue and see fully populated lists
    e. Stop play, edit the canvas back to Screen Space - Camera to see that the isssue comes back again.

    3. Related Notes
    a. This issue started with 5.6 b2, meaning 5.6 b1 and 5.5 and below all worked properly.
    b. I have a hunch that it is related to ScrollRect which is created by unity code when the drop down opens. But I cannot see the source for the dropdown code. I have already filed a ScrollRect bug for a world space canvas and think it might be related. Here is some info on that bug
    (Case 893559) ScrollRect putting NaN on Content transform in 5.6
    https://forum.unity3d.com/threads/s...ransform-in-small-scaled-world-canvas.462190/
     

    Attached Files:

  2. saviemedia

    saviemedia

    Joined:
    Nov 8, 2016
    Posts:
    7
    Hi Rational-MA, did you manage to fix the Dropdown issue?

    Thanks
     
  3. Rational-MA

    Rational-MA

    Joined:
    Mar 6, 2015
    Posts:
    59