Exception continuously being throw in Unity.
I'm trying to debug my code, but Noesis exceptions keep getting in the way. In Visual Studio I enabled all CLR exceptions (Exception Settings -> CLR Exceptions) so it's easier to debug my code, but Noesis exceptions are thrown every frame.
They're all in NoesisView's UpdateVirtualKeys().
An example: System.ArgumentException: Input Axis Noesis_Vertical is not setup.
To change the input settings use: Edit -> Settings -> Input
at (wrapper managed-to-native) UnityEngine.Input.GetAxis(string)
at NoesisView.UpdateVirtualKeys ()
Why are they stopping the program despite being caught? How do I stop these from throwing?
Thanks for the help.
They're all in NoesisView's UpdateVirtualKeys().
An example: System.ArgumentException: Input Axis Noesis_Vertical is not setup.
To change the input settings use: Edit -> Settings -> Input
at (wrapper managed-to-native) UnityEngine.Input.GetAxis(string)
at NoesisView.UpdateVirtualKeys ()
Why are they stopping the program despite being caught? How do I stop these from throwing?
Thanks for the help.
Re: Exception continuously being throw in Unity.
We discovered that even if being caught, the exception is generating GC.Allocs so we added a new check in NoesisView to disable input from gamepad. Gamepad is disabled by default. I recommend disabling that check if you have not configured Unity input system for a gamepad.
By they way, all our samples on GitHub were updated to support the Xbox controller.
By they way, all our samples on GitHub were updated to support the Xbox controller.
Who is online
Users browsing this forum: No registered users and 5 guests