PatHightree / SpaceNavigator

SpaceNavigator driver for Unity3D
MIT License
173 stars 52 forks source link

Class not registered error #23

Closed Krahazik-zz closed 3 years ago

Krahazik-zz commented 4 years ago

Unity 2018.4.21f1 Personal Just installed from the asset store via import. I can pull up the menu via alt+s but that's it. In my console, I am seeing the following error message

System.Runtime.InteropServices.COMException (0x80040154): Class not registered

And I am unable to use my 3d mouse anywhere in unity. NoOt in the editor or when I press play. It's just not working.

bwrsandman commented 4 years ago

Same. This is after importing from the asset store on Unity 2019.03.11f1 Personal on Windows 10.

System.Runtime.InteropServices.COMException (0x80040154): Class not registered

  at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR (System.Int32 errorCode) [0x0000a] in <437ba245d8404784b9fbab9b439ac908>:0 
  at System.__ComObject.CreateIUnknown (System.Type t) [0x00058] in <437ba245d8404784b9fbab9b439ac908>:0 
  at Mono.Interop.ComInteropProxy.CreateProxy (System.Type t) [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
  at System.Runtime.Remoting.RemotingServices.CreateClientProxyForComInterop (System.Type type) [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
  at System.Runtime.Remoting.Activation.ActivationServices.CreateProxyForType (System.Type type) [0x0003b] in <437ba245d8404784b9fbab9b439ac908>:0 
  at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_object_new_specific(intptr)
  at SpaceNavigatorDriver.SpaceNavigatorWindows..ctor () [0x00017] in Assets\SpaceNavigator\Plugins\SpaceNavigatorWindows.cs:48 
UnityEngine.Debug:LogError(Object)
SpaceNavigatorDriver.SpaceNavigatorWindows:.ctor() (at Assets/SpaceNavigator/Plugins/SpaceNavigatorWindows.cs:56)
SpaceNavigatorDriver.SpaceNavigatorWindows:get_SubInstance() (at Assets/SpaceNavigator/Plugins/SpaceNavigatorWindows.cs:61)
SpaceNavigatorDriver.SpaceNavigator:get_Instance() (at Assets/SpaceNavigator/Plugins/SpaceNavigator.cs:37)
SpaceNavigatorDriver.SpaceNavigator:get_Translation() (at Assets/SpaceNavigator/Plugins/SpaceNavigator.cs:13)
SpaceNavigatorDriver.ViewportController:Update() (at Assets/SpaceNavigator/Editor/ViewportController.cs:72)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
PatHightree commented 3 years ago

Closing this issue as with version 2.0.0, the driver has moved away from dll based communication to Unity's new Input System.