Why Does Compiling in VS corrups my variables?

Hi, I just recently start adding cpp to my project in order to have Structures more stable and reliable, but while testing Structures, whenever I add, remove or change an Uproperty from the Structure and hit compile, The Data change properly but any Variables in blueprints gets replaced by LiveCoding Variable (This happen aswell with Hot Reload changing them to HotReloadVariable), instead of keeping its Structure type.

I have no idea what I’m doing wrong.

Can you paste in the C++ definition code of your USTRUCT into this thread.

Here it is, if I add or remove anything the Variable change to LiveCode type

#pragma once



#include "TilesStructures.generated.h"

USTRUCT(BlueprintType)
struct FTargetedTile
{

	GENERATED_BODY()

		UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Custom Structures")
		AActor* BP_TileActor;

		UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Custom Structures")
		int TileDistance = -1;

		UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Custom Structures")
		int Bloqueness = -1;
};