Search Issue Tracker
Fixed in 2.2.4-preview
Votes
2
Found in [Package]
2.2.3-preview
Issue ID
1284136
Regression
Yes
Device Simulator window is empty and NullReferenceException is thrown when Input System package is installed
Reproduction steps:
1. Create a new project or open an existing one
2. Install Device Simulator package
3. Install Input System package
4. Open Device Simulator window (Window -> General -> Device Simulator)
Expected result: Device Simulator window is not empty and no errors are thrown
Actual result: Device Simulator window is empty and NullReferenceException error is thrown
Reproduces on: 2020.2.0b3 (2.2.3-preview), 2020.2.0b9 (2.2.3-preview), 2021.1.0a1 (2.2.3-preview), 2021.1.0a2 (2.2.3-preview)
Does not reproduce on: 2020.1.11f1 (2.2.3-preview), 2020.2.0b2 (2.2.3-preview)
Error message:
NullReferenceException: Object reference not set to an instance of an object
Unity.DeviceSimulator.InputProvider..ctor () (at Library/PackageCache/com.unity.device-simulator@2.2.3-preview/Editor/Input/InputProvider.cs:46)
Unity.DeviceSimulator.SimulatorWindow.OnEnable () (at Library/PackageCache/com.unity.device-simulator@2.2.3-preview/Editor/SimulatorWindow.cs:84)
UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String)
UnityEditor.WindowLayout:LoadDefaultWindowPreferences()
Notes:
Different Input System and Device Simulator package version combinations do not fix the issue.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
Add comment