Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2018.4
2019.4
2020.3
2020.3.5f1
2021.1
2021.2
Issue ID
1332218
Regression
No
[Standalone] Handheld does not exist
How to reproduce:
1.Open the attached "HandheldBug.zip" project
2. Build and run on Windows Standalone
Expected result: Build succeeds
Actual result: Build fails with "Assets\Scripts\HandheldBehaviour.cs(7,9): error CS0103: The name 'Handheld' does not exist in the current context"
Reproducible in: 2018.4.35f1, 2019.4.27f1, 2020.3.8f1, 2021.1.8f1, 2021.2.0a17
Notes:
- The issue is only reproducible on Standalone
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
- 2D light leaks through ShadowCaster2D when ShadowCaster2D components are disabled then re enabled at runtime in Player builds
- Unity Hub redirects to The Unity Roadmap when navigating to “Send Feedback” option
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
Resolution Note (fix version 2022.1):
Class is only available on mobile platforms.
Documentation updated to mention that.