PatHightree / SpaceNavigator

SpaceNavigator driver for Unity3D
MIT License
170 stars 55 forks source link

Dll not found on M1 mac #56

Closed tmcthree closed 1 month ago

tmcthree commented 1 year ago

Describe the bug After import into the project DllNotFoundException: 3DConnexionWrapperU5 assembly: type: member:(null) SpaceNavigatorDriver.SpaceNavigatorMac.GetTranslation () (at Assets/SpaceNavigator/Plugins/SpaceNavigatorMac.cs:33) 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 () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:356)

To Reproduce

  1. Install package
  2. Above exceptions will be thrown immediately

Details (please complete the following information): Macbook M1 Pro 16gb Ventura 13.0.1

SpaceExplorer Firmware 4.04 3dxWare 10 3dxMacCore 1.2.2.285 3dxWare 10.7.2 (3454)

Although I'm using quite an old 3dmouse, it works fine in Blender so the hardware and drivers don't seem to be the problem.

veryevilzed commented 7 months ago

Not work with URP. Default - work fine!

PatHightree commented 1 month ago

@tmcthree I think you're using the asset store version of the package, that's very outdated. Try the version in this repo, it uses Unity's input system instead of external dll's so it'll likely work fine on M1 mac's.

@veryevilzed Not sure why you're seeing different behaviour when using different rendering engines, but my package is completely unrelated to the render engine.