Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialjrmcintyre
4,892 PointsSerialize field method not working
The fields are not showing up in the inspector or when i type "[Serializefield]" it doesn't autocorrect
2 Answers
Jennifer Nordell
Treehouse TeacherHi there! I can't answer about the autocorrect, but remember that everything here is case senesitive. The autocorrect sounds like something specifically to do with your IDE, but I have no idea which IDE you are using.
According to your question, you're typing [Serializefield]
, but that should be [SerializeField]
. Note the capital "F".
Hope this helps!
Garrett Wiedner
599 PointsNote that a few times, it has stopped auto-completing words. I'm not sure why it does this, but I'm using Visual Studio instead of MonoDevelop. You can know when something has gone wrong whenever it is no longer referring to "Assembly-CSharp" and is instead referring to "Miscellaneous Files" at the top of the screen. Reloading the solution, OR restarting Unity and your MonoDevelop/VS should fix the problem.