Added new variable in c++ to DamageType.h but it does not appear in blueprint editor?

Yes – “build” just re-builds your code, not core classes. You should mark all core class files as read-only on your file system if you can, to avoid mistakes.

If you really do want to mutate the core engine, you have to clone it from git and build the entire engine from scratch. Which some studios do, but it makes future updates harder.

1 Like