sschmid / Entitas

Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
MIT License
7.03k stars 1.11k forks source link

#963: Extend generator with adding debug log of exception whe… #991

Closed Dethrail closed 1 year ago

Dethrail commented 2 years ago

963

I think that I had got same error when developing my examples and got empty hierarchy. My investigation carried out to the fact that registering of context observers has error and crashing flow without any exception.

This will help other devs to catch and understand issue much more faster

Error was in trying to declarate context as field of MonoBehaviour class

sschmid commented 1 year ago

Awesome thanks! So obvious now that I see your code 😄 Will merge into new main branch