Closed this issue 3 years ago · 0 comments
If an enum is declared as optional and you don't give it a value, then level.GetEntities() will throw a NullReferenceException.
Like I have this SpikeDirection enum in my Platform entity:
this happens: