VirtualControls doesn't work


New member
Hi guys, I have a problem with VirtualControls. They are inserted correctly in the scene but are not displayed in the Android build. Also from the Editor play (with Android emulator) they remain disabled. The documentation says that you enable yourself on the mobile UCC use builds... Any idea?


Staff member
Can you list the steps to reproduce within a fresh project? I just tried the virtual controls on Android and they correctly appeared.

If you want to debug it the virtual controls are disabled at runtime within VirtualControlsManager.Awake. They are then enabled within VirtualControlsManager.OnAttachCharacter. You do need to have the Unity Input component attached to your character and the virtual controls are not compatible with other input systems.