Search Issue Tracker

Fixed in 1.1-preview.2

Votes

0

Found in [Package]

1.0.0

Issue ID

1201866

Regression

Yes

[Input System] Old Input Module is available in "OnScreenControlsSample"sample scene from package

Package: Input System

-

Steps To Reproduce:

1. Create a new project
2. Window> Package Manager > Input System > Install
3. Restart the machine and open the project again
4. Package Manager > Input System> On-Screen Controls > Import
5. Run the OnScreenControlsSample scene

Expected Result: The scene runs without any errors

Observed Result: InvalidOperationException errors thrown in the console

Reproducible On: 2020.1.0a15

Not Reproducible On: 2020.1.0a14, 2019.3.0f1

Checked On Input System Package Version: 1.0.0

Stack Trace:

InvalidOperationException: EnsureRunningOnMainThread can only be called from the main thread
UnityEngine.Object.EnsureRunningOnMainThread () (at /Users/builduser/buildslave/unity/build/Runtime/Export/Scripting/UnityEngineObject.bindings.cs:149)
UnityEngine.Object.GetInstanceID () (at /Users/builduser/buildslave/unity/build/Runtime/Export/Scripting/UnityEngineObject.bindings.cs:68)
UnityEngine.Object.IsNativeObjectAlive (UnityEngine.Object o) (at /Users/builduser/buildslave/unity/build/Runtime/Export/Scripting/UnityEngineObject.bindings.cs:177)
UnityEngine.Object.CompareBaseObjects (UnityEngine.Object lhs, UnityEngine.Object rhs) (at /Users/builduser/buildslave/unity/build/Runtime/Export/Scripting/UnityEngineObject.bindings.cs:135)
UnityEngine.Object.op_Inequality (UnityEngine.Object x, UnityEngine.Object y) (at /Users/builduser/buildslave/unity/build/Runtime/Export/Scripting/UnityEngineObject.bindings.cs:425)
UnityEngine.Events.PersistentCall.ValidateTargetAssemblyType () (at /Users/builduser/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent.cs:514)
UnityEngine.Events.PersistentCall.OnAfterDeserialize () (at /Users/builduser/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent.cs:526)

Environment: Win and Mac

  1. Resolution Note (fix version 1.1-preview.2):

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.