so am following a YouTube video to make a game as am new to coding and with unity and all but anyway i got to near the end and i pressed play and it came up fix error CS0103.
Please read this thoroughly: https://discussions.unity.com/t/481379
Besides posting your code properly, please post your full error message as well.
Yeah, youâre much better off posting the code as well as the full error. Luckily, the error is visible in the screenshot. Youâve misspelled âFindObjectOfTypeâ on line 27.
As the others missed their opportunity to do so, iâd like to add a âwelcome to the forumâ to this post ![]()
What MrArcher said is true, even tho spelling mistakes like these should be underlined with a red squiggly line. Iâm not sure why thatâs not happening for you. You may wanna look into that. Or maybe somebody who knows adds an explanation below.
Firstly you need to change your IDE theme to black we coders dont like white IDE theme and we dont want to help people who is using white theme secondly you made misspelling in line 27(âFindObjectOfTypeâ).
I assume you are just jokingâŚ
If someone prefer to use bright UI that is fine. Maybe donât know different. But next I expect to hear, âI donât help anyone using Unity bright themeâ. Btw, is âYouâ not âUsâ, nor even âMostâ.
Ofc mate I am just kidding =) as you see in the end of my line I showed what is problem on his code =)


