Announcement

Collapse
No announcement yet.

UDistributionFloat reset to None on blueprint compile

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    UDistributionFloat reset to None on blueprint compile

    I have a C++ AGameModeBase sub-class that has a UDistributionFloat member:

    Code:
    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

    #2
    I ended up filing an issue for this and Epic logged a report for it. https://issues.unrealengine.com/issue/UE-74586

    Comment

    Working...
    X