PatHightree / SpaceNavigator

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

SpaceNavigator stops working after entering Play Mode until Unity Restart #24

Closed makaruk closed 3 years ago

makaruk commented 3 years ago

Hello,

Thank You for writing this great plugin.

I have a Space Navigator Compact, running on Unity 2020.1.17f1, and Mac OS Big Sur 11.0.1

I have two problems - maybe You could kindly point me in the right direction:

I have no other plugins installed - and the errors in thee Console as follows:

Assets/SpaceNavigator/Editor/ViewportController.cs(31,4): warning CS0618: 'EditorApplication.playmodeStateChanged' is obsolete: 'Use EditorApplication.playModeStateChanged and/or EditorApplication.pauseStateChanged'

Component GUI Layer in Camera for Scene Assets/SpaceNavigator/Runtime samples/- Fly around/Fly around.unity is no longer available. It will be removed after you edit this GameObject and save the Scene.

klvnptr commented 3 years ago

Happens to me as well. I can confirm this

PatHightree commented 3 years ago

You'e in luck. I haven't announced it yet, but I've been busy converting the driver to Unity's new Input System. This removes a lot of technical complexity and very likely solves this issue. On the other hand, I haven't tested on mac yet, so who knows. Also, the work so far has focussed on runtime script usage, so editor usage may contain bugs.

Head over to the /develop branch to become beta testers :) The readme there should get you up to speed, the new driver can be added to your project via the Package Manager window. Please report any issues and note the driver version you're using.

makaruk commented 3 years ago

Hello @PatHightree Thank You very much for this.

I'm on unity 2020.1.17f1 on Mac Big Sur

I created a new unity project.

I downloaded and installed the new input manager via package manager and enabled it in player settings.

I downloaded your space navigator package from the develop section and installed it from disk via package manager (SpaceNavigator Driver 2.0.0.beta.1).

I've got the SpaceNavigator Inspector in the Windows menu in Unity and I connected the Space Navigator hardware.

I restarted Unity Editor - but I get no reaction from the Space Navigator - either in EDITOR or PLAY mode.

Am I doing something wrong?

Kind Regards

PatHightree commented 3 years ago

I created a separate issue for the non-responsive beta install.

PatHightree commented 3 years ago

Closing this issue as it is being handled in #25