Do I have to restart the editor every time I change the engine code?

I am new to vs. I am trying to modify the source code of the Movement component.
Every time I modify the code, I must close the editor and debug it again in vs. I tried hot recompile, but I was prompted to change the Settings, but I couldn’t find the relevant Settings.
How to fix hot recompile?

Oh, I misunderstood.

Is this a problem that can’t be solved through inheritance?

The short answer: it depends. Normally, changes in cpp files (changes in function implementations) are picked up by Live Coding easily, changes in headers might lead to a rebuild (because some symbols are exported and used by different modules, linking is needed etc).

It will be beneficial to see what Settings you are prompted to change. Ctrl+Alt+F11 often works for me, if I change cpp file in engine.

I also would suggest to not change the Movement Component, and inherit from it and change as you wish, if it’s suitable options for your needs.

1 Like