MixedRealityInputSystem error; Failed to start the Input System! No controllers visible
milos12345 opened this issue · comments
milos12345 commented
Describe the bug
After Mixed Reality Toolkit Configure errors appear. Unity Plays but no controllers are visible
Failed to register the MixedRealityInputSystem service: System.Exception - The Input system is missing the required GazeProviderType!
at XRTK.Services.InputSystem.MixedRealityInputSystem..ctor (XRTK.Definitions.InputSystem.MixedRealityInputSystemProfile profile) [0x000da] in D:\M\Template\XRTKTemplate12b\Library\PackageCache\com.xrtk.core@0.1.20\Services\InputSystem\MixedRealityInputSystem.cs:44
at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <7d97106330684add86d080ecf65bfe69>:0
UnityEngine.Debug:LogError(Object)
XRTK.Services.MixedRealityToolkit:CreateAndRegisterService(Type, SupportedPlatforms, Object[]) (at Library/PackageCache/com.xrtk.core@0.1.20/Services/MixedRealityToolkit.cs:870)
XRTK.Services.MixedRealityToolkit:CreateAndRegisterService(Type, Object[]) (at Library/PackageCache/com.xrtk.core@0.1.20/Services/MixedRealityToolkit.cs:820)
XRTK.Services.MixedRealityToolkit:InitializeServiceLocator() (at Library/PackageCache/com.xrtk.core@0.1.20/Services/MixedRealityToolkit.cs:368)
XRTK.Services.MixedRealityToolkit:ResetConfiguration(MixedRealityToolkitConfigurationProfile) (at Library/PackageCache/com.xrtk.core@0.1.20/Services/MixedRealityToolkit.cs:117)
XRTK.Inspectors.MixedRealityToolkitInspector:OnInspectorGUI() (at Library/PackageCache/com.xrtk.core@0.1.20/Inspectors/MixedRealityToolkitInspector.cs:99)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Failed to start the Input System!
UnityEngine.Debug:LogError(Object)
XRTK.Services.MixedRealityToolkit:InitializeServiceLocator() (at Library/PackageCache/com.xrtk.core@0.1.20/Services/MixedRealityToolkit.cs:403)
XRTK.Services.MixedRealityToolkit:ResetConfiguration(MixedRealityToolkitConfigurationProfile) (at Library/PackageCache/com.xrtk.core@0.1.20/Services/MixedRealityToolkit.cs:117)
XRTK.Inspectors.MixedRealityToolkitInspector:OnInspectorGUI() (at Library/PackageCache/com.xrtk.core@0.1.20/Inspectors/MixedRealityToolkitInspector.cs:99)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Unable to register a service with a null concrete IMixedRealitySpatialObserverDataProvider type.
UnityEngine.Debug:LogError(Object)
XRTK.Services.MixedRealityToolkit:CreateAndRegisterService(Type, SupportedPlatforms, Object[]) (at Library/PackageCache/com.xrtk.core@0.1.20/Services/MixedRealityToolkit.cs:852)
XRTK.Services.MixedRealityToolkit:InitializeServiceLocator() (at Library/PackageCache/com.xrtk.core@0.1.20/Services/MixedRealityToolkit.cs:434)
XRTK.Services.MixedRealityToolkit:ResetConfiguration(MixedRealityToolkitConfigurationProfile) (at Library/PackageCache/com.xrtk.core@0.1.20/Services/MixedRealityToolkit.cs:117)
XRTK.Inspectors.MixedRealityToolkitInspector:OnInspectorGUI() (at Library/PackageCache/com.xrtk.core@0.1.20/Inspectors/MixedRealityToolkitInspector.cs:99)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Failed to start Lumin Spatial Observer Data Provider!
UnityEngine.Debug:LogError(Object)
XRTK.Services.MixedRealityToolkit:InitializeServiceLocator() (at Library/PackageCache/com.xrtk.core@0.1.20/Services/MixedRealityToolkit.cs:441)
XRTK.Services.MixedRealityToolkit:ResetConfiguration(MixedRealityToolkitConfigurationProfile) (at Library/PackageCache/com.xrtk.core@0.1.20/Services/MixedRealityToolkit.cs:117)
XRTK.Inspectors.MixedRealityToolkitInspector:OnInspectorGUI() (at Library/PackageCache/com.xrtk.core@0.1.20/Inspectors/MixedRealityToolkitInspector.cs:99)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Additional error that appearted once Core has been added
SocketException: An attempt was made to access a socket in a way forbidden by its access permissions.
System.Net.Sockets.Socket.Bind (System.Net.EndPoint localEP) (at <0079a30f96a047348857e1cecc6c638a>:0)
SyntaxTree.VisualStudio.Unity.Messaging.UdpSocket.Bind (System.Net.IPAddress address, System.Int32 port) (at <7bfe50ea87ae444bb97944401234ceb7>:0)
SyntaxTree.VisualStudio.Unity.Messaging.Messager..ctor (System.Int32 port) (at <7bfe50ea87ae444bb97944401234ceb7>:0)
SyntaxTree.VisualStudio.Unity.Messaging.Messager.BindTo (System.Int32 port) (at <7bfe50ea87ae444bb97944401234ceb7>:0)
SyntaxTree.VisualStudio.Unity.Bridge.VisualStudioIntegration+<>c__DisplayClass9_0.<.cctor>b__0 () (at <843b7c5ab4d34b2491669c24f4d94522>:0)
SyntaxTree.VisualStudio.Unity.Bridge.Project+<>c__DisplayClass40_0.<RunOnceOnUpdate>b__0 () (at <843b7c5ab4d34b2491669c24f4d94522>:0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:200)
To Reproduce
- Start Hub
- New Project with Unity 2019.1.14f1; 3D
- Modify manifest to include 0.1.20
- Uppon import there is a warning:
An AssetDatabase Refresh is pending after a successful Package Manager request. You should not call AssetDatabase.Refresh at this time because it can lead to import-related errors.
It is not clear if one should wait for something - Waited for 3 minutes unity manually restarted; warning is gone
- Through PM added com.xrtk.wmr 0.1.6
- Toolkit Configure at this point creates Active profile: None
- Deleted MixedRealityToolkit and MixedRealityPlayspace
- Imported xrtk.SDK and received errors reported in #90
- Configure successful (after the Unity Crash), but play not possible due to SDK errors
Additional errors appear (listed above) - If I remove the SDK through PM the Unity Plays, but these errors remain and controllers are not visible in scene
Expected behavior
No errors; Motion Controllers registered
Information(please complete the following information):
- Version 2019.1.14f1
- Release 0.1.20
Additional context
WMR Headset, OpenVR
Stephen Hodgson commented
The SDK release for com.xrtk.core 0.1.20
has not been release yet. You'll have to roll back to 0.1.19
See #74