I started out developing in the unity third-person Template and have been building out from that. The Character Controller file got too messy with tons of small conditions that I could handle in a state factory better. I haven’t made one before and after setting it up from a tutorial, and moving what I needed from the ThirdPersonController file I got to a point to test it. Unity can’t find the StarterAssetsInputs script in my CharacterStateManager file. Here is the line it’s mad at.
private StarterAssetsInputs _input;
I looked up the bug and there doesn’t seem to be a ton I can do. I have tried a few things out to fix it. I double checked the spelling, required it like this
[RequireComponent(typeof(StarterAssetsInputs))]
and moved it in my file structure to be in the same file as my state setup. What can I do to fix it?
Thank you for your time.