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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.