Exposing a variable doesnt seem to work

trying to get my head round this c++/blueprint relationship im doing some simple tests and they dont seem to work.
starting with the 3rd person demo, as i understand from the documentation, to expose a variable in the editor you declare it in the header .h file like this
Code:

class AMyProject3Character : public ACharacter
{
GENERATED_UCLASS_BODY()

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=MyCamera) //this is my test var
float CameraDistance;

but it doesnt show up in the blueprint?

Glad you worked it out! Variables certainly show up in debug (I usually run that way), you just need to make sure you are running the version you built. I usually use VS to launch Rocket, to make sure of that.

ok fixed it

in visual studio Menu> Build - Configuration Manager > Active Solution Configuration, set to Development :slight_smile:

Thanks for this. That seems to have answered an earlier problem I had as well. Although having the variables not expose in debug is something of a curiosity. I wonder why you have to change the modes to make that stuff work?