How to make a custom third person character and avoid this error?

Yes

There are all here: