Since the capitalization of MonoBehaviour is wrong, I am guessing that this is a simplified version of your code that you retyped for the forums, and not the actual code you are testing in your project.
Be advised that doing that will often obscure the bug you are trying to find, because when retyping you may correct errors you didn’t realize were there, or leave out details that you think are insignificant but that turn out to be important.
If you don’t want to post your original code (because it’s complicated, or confidential, etc.) the “safe” thing to do is to write simplified example code (like you did) but then run that simplified code to test and make sure that it still reproduces the original error, and then copy-paste code that you have actually tested directly into the forum with no changes.
I’m with Antistone. Are you sure you didn’t removed a Serializable attribute from your class? Because when your class is actually serialized in the inspector, it doesn’t really matter what you assign in the field initializer since the values would be overridded by the serialized data.
Sorry about that. The only thing I retyped directly in the forum was the class names and the MonoBehaviour key word but the rest is copied and pasted from the code. I didn’t remove or changed the values in the inspector. The only reason I used “public” for the list is so I can reach the list from the other scripts.
I don’t know what happened but now it is working as it should. Thank you for your input.