Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.3.X
Votes
0
Found in
2018.4
2019.3.10f1
2020.2
Issue ID
1239007
Regression
No
New Input System cannot retrieve devices in Start() method when used in WebGL build
To reproduce:
1. Open attached project ("case_1239007.zip")
2. Build and run WebGL build
3. Focus browser window and press 'a' keyboard button
Expected result: Cube object moves to the left
Actual result: Cube object doesn't move
Reproducible in: 2018.4.22f1, 2019.3.11f1, 2020.1.0b6, 2020.2.0a8
Reproducible in package versions: 0.2.1, 0.2.10, 1.0.0-preview.7
Could not test in package versions: 0.1.2, 0.2.0, 0.2.6, 0.2.8 (Due to errors in project)
Notes:
1. As a workaround keep checking 'Device'.current in Update() method until it's not null, then assign its value and use it
2. Browsers tested: Firefox 75.0 (64-bit), Google Chrome Version 81.0.4044.113 (Official Build) (64-bit)
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
Resolution Note (fix version 2020.3):
Fixed in 2020.3.18f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.31f1