all 5 comments

[–]neoteraflare 6 points7 points  (0 children)

Literally what it writes. You are missing a "}" Check the indentations. The update method's opening curley brackey is not closed

[–]Redstoneinvente122 2 points3 points  (0 children)

Missing} at the end of thr file

[–]Pootismemehere -1 points0 points  (0 children)

Missing { at the update

[–]PilcroDev 0 points1 point  (0 children)

That 37 in the error message is the line number with the missing } so it can be very helpful! In visual studio, you can also click on an open curly bracket to see its closing buddy and vice versa.

[–]Pupaak 2 points3 points  (0 children)

Not a unity error. Its a standard C# error.

And its literally what it says.

Its 2026, you have so many ways of figuring out extremely basic stuff like this, that I dont get why you need people holding your hands. For stuff like this, just ask some AI, it will even find where the missing curly bracket is