Is there anyway that I can create a List as a property of an object?

It’s ALWAYS the same three steps, ALWAYS. Sounds like you might have skipped Step #1.

How to fix a NullReferenceException error

https://forum.unity.com/threads/how-to-fix-a-nullreferenceexception-error.1230297/

Three steps to success:

  • Identify what is null
  • Identify why it is null
  • Fix that

NOTE: photographs of code are not a thing. If you post a code snippet, ALWAYS USE CODE TAGS:

How to use code tags: Using code tags properly

1 Like