i dont know why this is happening, the console give me this error:
There is already a virtual axis named ‘Horizontal’ registered
and
There is already a virtual axis named ‘Vertical’ registered
iv never made any change on the controller scripts, they were fully functional uppon this morning
(im using the dual touch and jump button controller).
well an image says more than 1000 words
I have a simple solution for this hope this will help…
Double click on error this will open the script just replace this line
Debug.LogError(“There is already a virtual axis named " + axis.name + " registered.”);
with
UnRegisterVirtualAxis(axis.name);
RegisterVirtualAxis (axis);
The error message is harmless. It is generated by VirtualInput.cs when registering an axis, it checks first if axis has not yet been registered.
One quick solution would be to remove this debug log error in VirtualInput. However the true question is why the axis is already registered. You should track (debug log) any call to RegisterVirtualAxis to know which scripts and where are registring these axis.
Game Rules
Unified Visual Scripting Asset with rules engine