Compilation will fails with an error on TSubclassOf<UDEPRECATED_SomeData>
Add the following code to a project and compile (Make to update XXX_API macro):
--------------------------------------------
UCLASS(Deprecated)
class GYMCODE424_API UDEPRECATED_SomeData : public UObject
{
GENERATED_BODY()
public:
UPROPERTY(EditAnywhere, BlueprintReadOnly)
FText Message;
};
/**
*
*/
UCLASS()
class GYMCODE424_API ASomeTestsGameModeBase : public AActor
{
GENERATED_BODY()
public:
// UFUNCTION(BlueprintImplementableEvent)
UFUNCTION(BlueprintImplementableEvent, meta = (DeprecatedFunction, DeprecationMessage = "Use OnNewDataReceivedEvent() instead."))
void OnDataReceivedEvent(TSubclassOf<UDEPRECATED_SomeData>& InData_DEPRECATED, const FHitResult& HitResult);
//void OnDataReceivedEvent(TSubclassOf<UObject>& InData, const FHitResult& HitResult);
UFUNCTION(BlueprintImplementableEvent)
void OnNewDataReceivedEvent(FText& InMessage, const FHitResult& HitResult);
UPROPERTY(meta = (DeprecatedProperty, DeprecationMessage = "Data is Depricated member"))
UDEPRECATED_SomeData* Data_DEPRECATED;
UPROPERTY(EditAnywhere)
FHitResult DefaultHitResult;
protected:
void BeginPlay() override {};
};
--------------------------------------
i have this problem UE4CC-Windows-58DC12AF4B97F057BD108FBFF569B2E9_0000
I am not able to find world outliner how to enable it?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
How can i modify the param name in EQS node
Delay nodes occasionally don't fire the "Completed" output in a nativized build
How to achieve HLSL Multiple Render Target in Material blueprints?
How does TextureRenderTarget2D get TArray<uint8> type data?
How to properly terminate the DoWork thread function in FAsyncTask?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-87673 in the post.
1 |
Component | UE - Foundation - Cpp Tools - UnrealHeaderTool |
---|---|
Affects Versions | 4.24.1 |
Target Fix | 5.0 |
Created | Jan 29, 2020 |
---|---|
Resolved | Jul 23, 2021 |
Updated | Nov 1, 2021 |