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
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.