int64 UProperty with ExposeOnSpawn meta tag won't compile from a C++ UUserWidget class.
1. Create a new C++ Project in UE 4.24.3
2. Create a new C++ Class based on UUserWidget.
3. Within the header file declare the following
UCLASS() class BUGSUBTEST_API UMyUserWidget : public UUserWidget { GENERATED_BODY() protected: UPROPERTY(BlueprintReadOnly, meta = (ExposeOnSpawn = true)) int64 userId; };
4. Compile
Result: Error: ExposeOnSpawn - Property cannot be exposed
Expected: Successful Compile
How does TextureRenderTarget2D get TArray<uint8> type data?
How do I set a material as a post-processing material?
How to delete some elements correctly when deleting an array loop?
Why does the REMOVE method of map container remove elements have memory leaks?
UMG RichText not appear image when packaged
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-91150 in the post.
0 |
Component | UE - Foundation - Cpp Tools - UnrealHeaderTool |
---|---|
Affects Versions | 4.24, 4.25 |
Target Fix | 4.25 |
Created | Mar 25, 2020 |
---|---|
Resolved | Mar 26, 2020 |
Updated | Aug 20, 2020 |