I was messing around with the Top Down game template and wanted to change the camera behavior, which is defined in the character class. However, it seems to reload only when I restart the editor. I assume it’s because the constructor code is only executed once when the level loads, although shouldn’t it also run when the game starts and the player is spawned in the level?
I’m having this exact same issue. Hot-reloads do not seem to update anything done in the constructor, even though I can trigger a breakpoint and inspect the variable being set i.e. (CameraBoom->TargetArmLength) it’s almost like there’s a default object that’s not getting destroyed.
I just wanted to provide a quick update on this issue. A fix was recently submitted to correct this. I ran a quick test using the fix and it appears that everything is working correctly now. If you built the Engine using source code, you can find the commit containing the fix here. If you are using the binary version of the Engine installed by the Launcher, the fix will be included in a future released version of the Engine.