-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unity crashes when plugging in wireless adapter #50
Comments
I am having the same issue in Unity 2021.3.7f1. Fresh URP project with only the new input system package added. Once driver 2.0.0-beta.7 is installed unity crashes. Unity crash logObtained 56 stack frames |
Can you check if the issue still occurs with version 2.0.0-pre.9 ? |
Sadly it didn't help. I've got the same exact problems as described in the top post |
Exactly the same issue on my side currently with a brand new SpaceMouse Pro Wireless and Unity 2021.3.15f1 . |
Describe the bug
See title
To Reproduce
The program crashes when I do the following steps:
load new unity scene
import 2.0.0-beta.7 Space Navigator
accept new imput API (or don't and change the setting manually)
if the wireless adapter, connected to a wireless space navigator, is in my computer unity crashes inmediately.
if it isn't in my computer nothing'll happen... Until I plug it in, which will cause the program to crash
Details:
Additional context
3Dconnexion drivers installed or not doesn't change the problem.
disabling the KMJ Emulator doesn't change the problem.
When I wire the wireless navigator to the pc It won't crash, but I get no rotation. also, it'll strave ever so slightly (in proportion with the translation speed) Same as this thread: #32
Unity Crash log:
Obtained 30 stack frames
0x00007ff73e668080 (Unity) InputDeviceIOCTL
0x00007ff73d5fa04e (Unity) NativeInputSystem_CUSTOM_IOCTL
0x000002ca758e9a93 (Mono JIT Code) (wrapper managed-to-native) UnityEngineInternal.Input.NativeInputSystem:IOCTL (int,int,intptr,int)
0x000002ca758e9973 (Mono JIT Code) [NativeInputRuntime.cs:46] UnityEngine.InputSystem.LowLevel.NativeInputRuntime:DeviceCommand (int,UnityEngine.InputSystem.LowLevel.InputDeviceCommand*)
0x000002ca758e990e (Mono JIT Code) [InputDevice.cs:581] UnityEngine.InputSystem.InputDevice:ExecuteCommand (UnityEngine.InputSystem.LowLevel.InputDeviceCommand*)
0x000002ca758e9fb3 (Mono JIT Code) [InputDevice.cs:576] UnityEngine.InputSystem.InputDevice:ExecuteCommand<UnityEngine.InputSystem.LowLevel.RequestSyncCommand> (UnityEngine.InputSystem.LowLevel.RequestSyncCommand&)
0x000002ca758e9bb3 (Mono JIT Code) [InputDevice.cs:840] UnityEngine.InputSystem.InputDevice:RequestSync ()
0x000002ca758e4ad3 (Mono JIT Code) [InputManager.cs:1175] UnityEngine.InputSystem.InputManager:AddDevice (UnityEngine.InputSystem.InputDevice)
0x000002ca74ba67eb (Mono JIT Code) [InputManager.cs:1067] UnityEngine.InputSystem.InputManager:AddDevice (UnityEngine.InputSystem.Utilities.InternedString,int,string,UnityEngine.InputSystem.Layouts.InputDeviceDescription,UnityEngine.InputSystem.InputDevice/DeviceFlags,UnityEngine.InputSystem.Utilities.InternedString)
0x000002ca74ba093b (Mono JIT Code) [InputManager.cs:1209] UnityEngine.InputSystem.InputManager:AddDevice (UnityEngine.InputSystem.Layouts.InputDeviceDescription,bool,string,int,UnityEngine.InputSystem.InputDevice/DeviceFlags)
0x000002ca726efb3b (Mono JIT Code) [InputManager.cs:2464] UnityEngine.InputSystem.InputManager:OnNativeDeviceDiscovered (int,string)
0x000002ca726ef516 (Mono JIT Code) UnityEngineInternal.Input.NativeInputSystem:NotifyDeviceDiscovered (int,string)
0x000002ca726ef5bf (Mono JIT Code) (wrapper runtime-invoke) :runtime_invoke_void_int_object (object,intptr,intptr,intptr)
0x00007ffbe30be0a4 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007ffbe2ffe744 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke
0x00007ffbe2ffe8dc (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke
0x00007ff73e1cfd84 (Unity) scripting_method_invoke
0x00007ff73e1ca9a4 (Unity) ScriptingInvocation::Invoke
0x00007ff73e1c42c5 (Unity) ScriptingInvocation::Invoke
0x00007ff73e308f8b (Unity) Scripting::UnityEngineInternal::Input::NativeInputSystemProxy::NotifyDeviceDiscovered
0x00007ff73e668ff7 (Unity) SendDeviceDiscoveriesToScript
0x00007ff73e668267 (Unity) InputUpdate
0x00007ff73e667d49 (Unity)
InternalInitializeModule_Input'::
2'::editorBeforeUpdateRegistrator::Forward0x00007ff73d5338d9 (Unity) CallbackArray::Invoke
0x00007ff73edd7196 (Unity) Application::TickTimer
0x00007ff73f21f8aa (Unity) MainMessageLoop
0x00007ff73f22417b (Unity) WinMain
0x00007ff74054582e (Unity) __scrt_common_main_seh
0x00007ffc73bb7034 (KERNEL32) BaseThreadInitThunk
0x00007ffc75082651 (ntdll) RtlUserThreadStart
The text was updated successfully, but these errors were encountered: