Error GameSession does not contain a definition for "Lenght"

Hi, my code looks the same as the tutorial but it says “Assets\Scripts\GameSession.cs(15,64): error CS1061: ‘GameSession’ does not contain a definition for ‘Lenght’ and no accessible extension method ‘Lenght’ accepting a first argument of type ‘GameSession’ could be found (are you missing a using directive or an assembly reference?)”
Here are some screenshots of my code…
Screenshot 2022-08-07 140920
Screenshot 2022-08-07 140759

My father just solved typical bad spelling of Lenght (sould be Length) for a non english proficient learner.

Good job on fixing the problem. :slight_smile:

Generally, if the error message mentions a word, check the spelling. In most cases, there is a typo. Remember you can also look at the lecture code changes via the link in the Resources of each lecture.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms