sschmid / Entitas

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

Generation is not working if there is a compilation error and warn is disabled #1045

Closed vakuor closed 1 year ago

vakuor commented 2 years ago

Describe the bug I am imported Entitas 1.13.0 and let project compile. Then I added a simple example with health component from tutorial to my project. As there was a warning about compilation errors i disabled this warning from jenny preprocessors settings. Then I am trying to generate ECS code but it is not working.

To Reproduce Steps to reproduce the behavior:

  1. Import Entitas 1.13.0 (may be any other version also has same behaviour idk)
  2. Wait for project compilation
  3. Import your previously written components and systems code.
  4. Try to generate
  5. See error

Expected behavior Components properly generating.

Screenshots image image image image

Entitas Version

Link to project https://github.com/vakuor/EntitasBugReport