PatHightree / SpaceNavigator

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

Space Navigator not doing correct movements #14

Closed maxbeyer1 closed 3 years ago

maxbeyer1 commented 7 years ago

Hey! First of all, just wanted to say thank you so much for continuing to maintain this plugin! It makes my life soo much easier. 😄 Anyway, I recently started having a problem with the plugin where the movements in Unity that are being made don't match what I'm actually doing. I didn't change anything, but suddenly one day it just stopped working. If I move it in some directions it just doesn't do anything and in some directions, it does the opposite direction (if I move it backwards it goes forwards). It doesn't work in any of my Unity projects but it does work in the 3DConnexicon viewer. Do you have any idea what might be going on?
Thanks!

PatHightree commented 7 years ago

Hi there, Is it (mis)behaving consistently? Then I suspect that something has gone wrong while saving the settings.

I'm on my phone now, so I can't check. But have a look at the settings class, see where it saves its data, go into the registry and delete it. Hope that helps.

Ciao, Patrick

On Jul 21, 2017 03:15, "PCGenius101" notifications@github.com wrote:

Hey! First of all, just wanted to say thank you so much for continuing to maintain this plugin! It makes my life soo much easier. 😄 Anyway, I recently started having a problem with the plugin where the movements in Unity that are being made don't match what I'm actually doing. I didn't change anything, but suddenly one day it just stopped working. If I move it in some directions it just doesn't do anything and in some directions, it does the opposite direction (if I move it backwards it goes forwards). It doesn't work in any of my Unity projects but it does work in the 3DConnexicon viewer. Do you have any idea what might be going on? Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PatHightree/SpaceNavigator/issues/14, or mute the thread https://github.com/notifications/unsubscribe-auth/AAP7KDVT8iVt7K44h1kupXf8AvB12gmkks5sP_u8gaJpZM4Oe2NP .

maxbeyer1 commented 7 years ago

Yes, it is misbehaving all the time. I tried looking in the Settings.cs file (and every other file in the SpaceNavigator folder) but I can't seem to find any mention of where the settings are being saved... Am I looking in the wrong place?

PatHightree commented 7 years ago

Heya,

a quick search yields this as a possible registry location for the settings: Computer\HKEY_CURRENT_USER\Software\Patrick\3DxMouse

See what happens if you clear that out.

Good luck, Patrick

On Fri, Jul 21, 2017 at 2:18 PM, PCGenius101 notifications@github.com wrote:

Yes, it is misbehaving all the time. I tried looking in the Settings.cs file (and every other file in the SpaceNavigator folder) but I can't seem to find any mention of where the settings are being saved... Am I looking in the wrong place?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/PatHightree/SpaceNavigator/issues/14#issuecomment-316986230, or mute the thread https://github.com/notifications/unsubscribe-auth/AAP7KC3x2Zdes-fbxN9SXJGQ2rh1mavaks5sQJb6gaJpZM4Oe2NP .

maxbeyer1 commented 7 years ago

I did a search on my computer and I can't find a Software, Patrick, or 3DxMouse folder anywhere... Where did you find that path? Maybe it is different for me?

EDIT: Sorry, wasn't thinking straight lol and thought that that was a file path no a registry location... I got all the way to the Software part but can't find a Patrick folder...

PatHightree commented 7 years ago

Its a registry path, not a folder path ;)

On Fri, 21 Jul 2017 at 23:41, PCGenius101 notifications@github.com wrote:

I did a search on my computer and I can't find a Software, Patrick, or 3DxMouse folder anywhere... Where did you find that path? Maybe it is different for me?

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/PatHightree/SpaceNavigator/issues/14#issuecomment-317119014, or mute the thread https://github.com/notifications/unsubscribe-auth/AAP7KBSj2Xd4P0a8PNw8OOuI8-BE4FaWks5sQRsagaJpZM4Oe2NP .

maxbeyer1 commented 7 years ago

Yeah, I know... did my edit not show up for you? I found the HKEY_CURRENT_USER/Software part but I can't find a Patrick or a 3DxMouse folder in that...

PatHightree commented 7 years ago

Hehehe, gotcha

I just realized I'm using UnityEngine.PlayerPrefs to save the data. That ends up somewhere in the registry, dependant of the current project's name. https://docs.unity3d.com/ScriptReference/PlayerPrefs.html

Have anohter look, see where your project's name leads you. Otherwise, make a fresh test project and see if the driver still misbehaves.

Ciao, Patrick

On Sat, Jul 22, 2017 at 12:43 PM, PCGenius101 notifications@github.com wrote:

Yeah, I know... did my edit not show up for you? I found the HKEY_CURRENT_USER/Software part but I can't find a Patrick or a 3DxMouse folder in that...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/PatHightree/SpaceNavigator/issues/14#issuecomment-317174937, or mute the thread https://github.com/notifications/unsubscribe-auth/AAP7KDjn-oRZhQ6pulmpkbnBY_Aclv68ks5sQdJpgaJpZM4Oe2NP .

maxbeyer1 commented 7 years ago

Hey, Sorry I took a while to try it out, I had to pick up a friend from the airport and it took a little longer than expected. Anyway, I found that in the registry and in the project that isn't working there was nothing relating to Space Navigator, only my Cloud Build ID. In one of the other projects (that isn't working, as well) there was stuff relating to SpaceNavigator and I deleted them all but it still didn't work. Another thing I realized is that I can't open the SpaceNavigator window. I can't do Alt+S and it isn't in any of the dropdown windows... I did try creating a new project and it did work there. However, I can't copy and paste all of my assets into that because I'm working with about 15 other people... Any other ideas?

maxbeyer1 commented 7 years ago

Hey! Any other ideas on how to solve this issue? I really need to get this working, I work a lot slower without it...

PatHightree commented 7 years ago

The fact that the window isn't available could mean that the plugin has a problem starting up. Try removing all driver files manually. Offhand I'd say they live in the Editor and Plugins folders (I'm on my mobile). But to be sure you get them all, check the directory structure on github. Then reimport the package from the asset store.

Good luck!

Ciao, Patrick

On Jul 25, 2017 12:22 AM, "PCGenius101" notifications@github.com wrote:

Hey! Any other ideas on how to solve this issue? I really need to get this working, I work a lot slower without it...

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/PatHightree/SpaceNavigator/issues/14#issuecomment-317572063, or mute the thread https://github.com/notifications/unsubscribe-auth/AAP7KJjsnMXo1MeYbu7_dk6G80ywb1PAks5sRRkggaJpZM4Oe2NP .