Hey all !
When i change my code and recompile, everything works fine, but the constructor is not updated in the editor.
For instance, i added the following code in my character constructor (default class of the gamemode):
GetCharacterMovement()->BrakingDecelerationFlying = 3000.f;
and i can’t see the modification in the editor, no matter what i do: recompiling (complete rebuild), stopping/starting the editor, i even suppressed the BP derived from the class and recreated it from scratch (same name though), it still gives me the old value.
I know i am using the right code, because the MaxFlySpeed has been taken into account using the exact same code.
I have already had some similar issue with other properties (for example, suppressing the code for creation of a mesh component in the constructor needed a delete/recreation of the BP for the component to disappear from the BP). But this time, even delete/recreate is not working.
So it looks like the editor is loading some cached values.
Is there a manipulation i should do to force the new values to be loaded ? Maybe deleting some directory in my project ?
Thanks !
Cedric