Search Issue Tracker

Won't Fix

Votes

5

Found in

5.5.1p2

Issue ID

878560

Regression

No

[iOS][webGL][UI][Dropdown] dropdown list doesn't close and elements of dropdown list cannot be deselected

Scripting

-

Reproduction steps:

1. Create a new Unity project.
2. Click on the hierarchy with the right mouse button.
3. Select: UI > Dropdown.
4. Save the scene.
5. Build the saved scene for iOS or WebGL and launch the application.
6. Touch the dropdown list.
7. Try to select and unselect elements of the list.
- Elements are unselectable on iOS.
8 Try to close/shrink the list.
- List doesn't close on iOS and WebGL.

Reproduced with:
[iOS]
5.2.5f1, 5.6.0b8
iPhone 7+ iOS 10.2
IL2CPP, Mono2x
[webGL]
Chrome 56.0, Safari 10.0.3, Firefox 51.0.1

Not reproducible with:
Editor, OSX standalone, Android

Note:
Errors are thrown into an Xcode console (attached in the edit):

"NullReferenceException: A null value was found where an object instance was required.
at UnityEngine.UI.Dropdown.SetAlpha (Single alpha) [0x00000] in <filename unknown>:0
at UnityEngine.UI.Dropdown.Hide () [0x00000] in <filename unknown>:0
at ...
...
...
"

Workaround:
Disable "Strip Engine Code" in the Player Settings.

Comments (1)

  1. Bandit-Development

    Feb 27, 2017 21:41

    In order for the workaround to "work" on iOS, you need to use IL2CPP Scripting Backend, then disable "Strip Engine Code" in the Player Settings.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.