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

Scripting

-

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

  1. Resolution Note (fix version 2022.1):

    Class is only available on mobile platforms.
    Documentation updated to mention that.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.