Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: mgervais on March 13, 2021, 08:51:56 AM

Title: UI display problem
Post by: mgervais on March 13, 2021, 08:51:56 AM
Hello Community,

I have a problem displaying a UI panel with dropdowns once it has been deactivated and reactivated. (see the video lick below)


Here are additional informations regarding this problem.

1 - Activation of UI is recursive
2 - Dropdowns are displayed within a verticle group layout and are TextMeshPro dropdowns
3 - I have tried to isolate the problem by deactivating/reactivating dropdowns that were not children of a panel and non TextMeshPro but I get the same result.

Any help would be greatly apreciated.

Mike
Title: Re: UI display problem
Post by: djaydino on March 14, 2021, 08:27:58 AM
Hi.
Do you have the same result if you use unity's dropdown ui

is the dropdown populated @ runtime or preset in editor?
Title: Re: UI display problem
Post by: mgervais on March 14, 2021, 11:11:44 AM
Hi djaydino,

Thanks for your reply.

1 - I have tried with the native dropdown and it gives me the same result (Note that you can also try a native dropdown as the parent UI object in the canevas and it will do the same)

2- I am not populating the panel at runtime
Title: Re: UI display problem
Post by: djaydino on March 14, 2021, 01:59:00 PM
Hi.
only thing i could found is referring to a bug:

https://stackoverflow.com/questions/47724383/unity-ui-how-to-reenable-a-dropdown-after-its-panel-was-deactivated-and-then-r

https://issuetracker.unity3d.com/issues/ui-dropdown-list-does-not-render-if-the-canvas-is-disabled-and-enabled-again