Search Issue Tracker
Won't Fix
Votes
3
Found in
2021.3.41f1
2022.3.33f1
6000.0.6f1
Issue ID
UUM-73852
Regression
No
OnClick events in WebGL player are called on the whole browser document when overlayed UI elements created with JS frameworks are present
How to reproduce:
1. Make sure Node.js 20.11.x is installed
2. Open the attached project “BugRepro”
3. Build the project for the WebGL Platform to the “public” folder in the downloaded folder
4. In PowerShell terminal run {{npx http-server}} with the path of the “public” folder
5. Run the local server on the IP reported in the PowerShell terminal
6. Open the browser Console
7. Click on the text/buttons of the HTML Component in the browser document
8. Observe the Console
Expected results: No Unity SceneManager logs appear
Actual results: “unity.framework.js:10 [Unity - SceneManager] OnSelect called! This function should ONLY be called if the user clicked somewhere on the canvas element.” is logged into the Console
Reproducible with: 2022.3.33f1, 6000.0.6f1
Can’t test with: 2021.3.39f1 (Build fails for the unknows reason)
Reproducible on: Windows 11 Pro, macOS 14.5 (user’s)
Not reproducible on: No other environment tested
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
This bug was fixed as part of another issue which is now available in the latest build