All compiler errors have to be fixed before entering playmode

the reason

It is because your script contains an error that prevents Unity from compiling the script.

solution

View all the errors displayed in the Console and fix them.

Guess you like

Origin blog.csdn.net/a451319296/article/details/109320363