Packing the project or Restarting the Editor resets Variables

Packaging or Restarting the Editor sets the “Player position” to “SelfActor” (Left side of the image). It’s saved and compiled as “Player Position: PlayerPosition” (Right side of the image).

Left side shows the AI in “Play mode” in the editor, while the right side shows the AI in the packaged version.

EDIT: I found a way to “fix” this by deleting SelfActor. Not an actual fix, but at least the variable doesnt change.

Hey,

I tried to create a similar scenario but I couldn’t get my Task to change from Player Position: PlayerPosition to Player Position: SelfActor after restarting the editor or packaging out the project in 4.18. I did repro this in 4.18.2 so if you could, if you haven’t already, try seeing if the issue is fixed in that version. If its not do you mind sending me a repro project with that in it so I can take a closer look?

Thanks

Hi,

I’ve tried multiple times to reproduce the bug in 4.18.2, the bug didn’t happen once. I believe the recent patch fixed the bug.

The pictures were taken in 4.18.1.

The problem seems solved.

Hey,

Thanks for confirming that 4.18.2 fixed the issue for you. I will be marking this as solved for reporting purposes.