I have exposed a C++ variable to blueprint like below:
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PriorityOverPerformance")
bool Priority;
In the C++ object’s constructor I set the value to FALSE to give it a default value. In the editor I find the Variable in the detail window and I check TRUE for certain objects. However the value is not being retained in the shipping/test build and instead all objects hold a value of FALSE.
I have tried removing the FALSE setting in the constructor to no avail.
Any ideas?