Unity Issue Tracker - Button clicks are not registered when the project is built
Fixed
UUM-13000
Button clicks are not registered when the project is built
Unity: UI Toolkit Framework
Fixed
2023.1.X
2022.3.X
Won't Fix
2022.2.X
2022.2.0a10 onwards
Closing this port, since this Unity version is no longer supported.
To reproduce:
1. Open the project “UnityPlayerBugReport”
2. Build And Run
3. Click on the button on the screen
Expected result: Clicks are counted
Actual result: Clicks are not counted
Reproducible with: 2022.2.0a10, 2022.2.0b4, 2023.1.0a2
Not reproducible with: 2021.3.8f1, 2022.1.13f1, 2022.2.0a9, 2023.1.0a3, 2023.1.0a6
Could not test with: 2020.3.38f1 (Package errors)
Reproduced on: macOS Monterey 12.5.1 (Intel)
Note:
Reproducible with IL2CPP and Mono
Not reproducible in Play mode
User note:
After building the game, UI elements such as buttons will not receive pointer down events if another (non-child) element is set to Display = None. Also happens for Visibility = Hidden and SetEnabled(false)
Prioritise and Follow this issue
Have a workaround or additional info about this issue?