I am getting error C4309 when compiling as soon as i add a boolean UPROPERTY. If i remove the boolean variable it compiles succesfully. Also, if instead of making it a boolean i make it a float or an integer it also compiles successfully. Am i doing something wrong?
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "WTG Outputs")
float Pitch1 = 0.0f;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "WTG Outputs")
float RotorSpeed = 0.0f;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "WTG Outputs")
float GeneratorSpeed = 0.0f;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "WTG Outputs")
float ElectricalPower;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "WTG Outputs")
float TowerFADisplacement;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "WTG Outputs")
float TowerFAAcceleration;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "WTG Outputs")
float TowerSSDisplacement;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "WTG Outputs")
float TowerSSAcceleration;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "WTG Inputs")
float Pitch1_Input;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "WTG Inputs")
float Pitch2_Input;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "WTG Inputs")
float Pitch3_Input;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "WTG Inputs")
float Torque_Input;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "WTG Inputs")
bool SimulationStarted = false;
Regards and thanks in advance