I have a C++ AGameModeBase sub-class that has a UDistributionFloat member:
UPROPERTY(EditDefaultsOnly) class UDistributionFloat* MyFloatDistribution;
I have a Blueprint sub-class where I’m trying to set the distribution. It appears to work (I can see the distribution drop down menu), but as soon as I hit the Blueprint editor’s Compile button, MyFloatDistribution is reset to None and there are no errors in the logs.
Is this a bug or am I missing something?
minimal example project here: https://github.com/drichardson/ue4bu…llDistribution