I'm really new to unity, what is error CS8803?

Right along with the error code you also get the exact position, the line and the character, as reported by the compiler. With C# in general we don’t care about the error codes themselves, that’s pretty much useless. What we care about is the message and the position of the error.

The error you’ve made is this line

void FixedUpdate();

This line violates the basic C# syntax rules: you’ve declared a function but there is no body of the function.
You can’t just close that with ; and pretend it’s nothing.

What C# expects is

return_type_declaration function_name(arguments) { body }

arguments are the only thing optional here. Also there is no semicolon anywhere.
We use semicolons to close off statements, not functions.

Also please use code tags or else your code is pretty much unreadable.

Edit:
Oh and you haven’t finished that class, there is no ending }

1 Like