Search Issue Tracker
Fixed in 2021.1.X
Planned for 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)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [iOS] Crash on ScriptingGCHandle::Acquire when calling RequestUserAuthorization without using yield for pending authorization
- Particle is not visible in RenderTexture when Renderer's material is set to Default-Particle and Camera's BG Alpha is set 0
- [Physics] Character Joint jumps around when following Kinetic Rigidbody
- [macOS] There is no way to tell if you are running under Rosetta
- [AssetImport] Changing Graphics APIs in Android platform reimports most of the assets (textures, fonts, ...)
Add comment