This is an intentional change in behavior. A non-BlueprintType USTRUCT should not be visible to blueprints.
Defining a FBoneReference variable as BlueprintReadWrite or BlueprintReadOnly in the UPROPERTY macro fails to compile in 4.17. The error message provided by VS states:
LogCompile: Error: Type 'FTestStruct' is not supported by blueprint. MyActor.Rando
This is likely caused by FBoneReference's USTRUCT not including the BlueprintType specifier
Regression:
Yes - Code provided in repro steps does compile successfully in 4.16.3 binary
Workarounds:
USTRUCT()
struct FTestStruct
{
GENERATED_BODY()
float someNum;
};
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = test) FTestStruct Rando;
Result:
Compile fails stating that FTestStruct is not supported by blueprints
Expected:
VS compiles successfully with exposed FBoneReference variable
i have this problem UE4CC-Windows-58DC12AF4B97F057BD108FBFF569B2E9_0000
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
I am not able to find world outliner how to enable it?
Delay nodes occasionally don't fire the "Completed" output in a nativized build
How can i modify the param name in EQS node
How to achieve HLSL Multiple Render Target in Material blueprints?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-48708 in the post.
0 |
Component | UE - Foundation - Cpp Tools - UnrealHeaderTool |
---|---|
Affects Versions | 4.17 |
Created | Aug 22, 2017 |
---|---|
Resolved | Aug 23, 2017 |
Updated | Apr 27, 2018 |