Download

UE4 Not Compiling Changes that I've Made To Code Without Restart

I am fairly new to two the UE4 side of c++ and made a two simple Actor components

  1. Outputs a warning log to the console with that actor’s position X,Y,Z.
  2. Rotates a door 90 degrees along the yaw (Z axis)

The issue is that the UE4 editor often doesn’t see the changes I’ve made to the code,.

Links to the two components in question: Imgur: The magic of the Internet (Both of these are in the BeginPlay()

However after saving the code in VS then pressing the compile button in the UE4 toolbar, the door fails to rotate, and a half finished output from the PositionReport component logs.

Image of old position report output: Imgur: The magic of the Internet

This output was from earlier when my script was missing the GetLocation() method before .ToString().

Things I have tried:
-Saving the Files in VS then compiling from the toolbar.
-Building the solution in VS, then pressing play in the editor

What Works:
Restarting the editor and VS, then relaunching both of them (I don’t believe I should need to do this)
Videos and online sources say restart should only be needed when a new function/ class is created.

Thank You to anyone taking time out of their day to help me out, appreciate it.

I have the same damn problem, man. Have you found out something?