I have been using the new Unity Input System with good success until I got this error and I don't know how to solve it. The first error reads "(0,0): error Cannot generate writer for abstract class InputControl". Console
I am using Input System 1.3.0. I also use the networking asset Mirror in case it has something to do with it.
Can someone help me here? =)
Ok I found the problem:
I added the [Command] header over one of my Input Handler method, after removing it it works fine.
//[Command]
public void OnScroll(InputAction.CallbackContext ctx)
not
[Command]
public void OnScroll(InputAction.CallbackContext ctx)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.