Warning cs0649

Good afternoon. Iv been leaning this classes for a week and I love this course so far.
Everything works well on this section, but it shows warning in the concsole:
Assets\State.cs(8,46): warning CS0649: Field ‘State.storyText’ is never assigned to, and will always have its default value null


It seems doesnt affect anything, but I wondering what is it mean? and how do I fix it??
Thank you very much!

Hi Angie,

Welcome to our community! :slight_smile:

Those messages with the yellow icons are harmless warnings, probably caused by a bug in Unity. Double click on each message in your Console, and add = default; behind the respective variable declaration.

Did this help?


See also: