Search Issue Tracker
Active
Votes
6
Found in [Package]
2021.1.0b1
2021.1.1f1
2021.2
2021.2.0a11
Issue ID
1325482
Regression
Yes
OnMouse_ event handlers warning appears when building for Android/ iOS/tvOS
“Game scripts or other custom code contains OnMouse_ event handlers. Presence of such handlers might impact performance on handheld devices” Warning appears when building for Android/ iOS/tvOS.
Steps to repro:
1. Create a new project
2. Switch the Platform to Android/iOS/tvOS
3. Build for Android/iOS/tvOS
4.Observe the warning in the console
Actual Result: “Game scripts or other custom code contains OnMouse_ event handlers. Presence of such handlers might impact performance on handheld devices.” Warning appears
Expected Result: a warning does not appear when building for Android/iOS/tvOS
Occurring on: 2021.2.0a11, 2021.1.1f1, 2021.1.0b1
Working Fine: 2021.1.0a10, 2020.3.2f1, 2019.4.21f1
Environment: Occurring on macOS and Windows 10
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
CMPRPATI
Feb 27, 2022 01:23
Game scripts or other custom code contains OnMouse_ event handlers. Presence of such handlers might impact performance on handheld devices.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
happened on 2020.3.27f1
Migs
Oct 28, 2021 12:03
Same issue on 2021.1.26f1
Rem777
May 19, 2021 23:39
same warning on 2020.3.8f1