Search Issue Tracker
Fixed in 2021.1
Planned for 2019.4, 2020.2
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)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shadows are not cast when you first Blit the Shadow map and then set it back to Buffer
- Changes to instanced detail mesh material don't immediately apply
- [uGUI] Vertices retrieved from GetUIVertexStream method cannot be modified when adjusting them through script
- Scroll bar scrolls less in the Package Manager packages than elsewhere when pressing on the empty scroll bar area to scroll
- Undo.RegisterCreatedObjectUndo dirties the scene, but no actual changes to Scene are made
Add comment