A user has reported that Unreal Header Tool fails to parse a rep notify function properly when the optional parameter for the Old value is populated with a TWeakObjectPointer.
Example of errors:
Severity Code Description Project File Line Suppression State Error C2275 'TWeakObjectPtr<UObject,FWeakObjectPtr>': illegal use of this type as an expression MyProject16 d:\unreal projects\main\myproject16\source\myproject16\MyActor.h 12 Error C2065 'Z_Param_OldSource': undeclared identifier MyProject16 d:\unreal projects\main\myproject16\source\myproject16\MyActor.h 12 Error C3861 'P_GET_WEAKOBJECT': identifier not found MyProject16 d:\unreal projects\main\myproject16\source\myproject16\MyActor.h 12
Regression?: No
This occurred in 4.19
UPROPERTY(Transient, ReplicatedUsing = "OnRep_Source") TWeakObjectPtr<UObject> Source; UFUNCTION() void OnRep_Source(const TWeakObjectPtr<UObject> OldSource);
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
Delay nodes occasionally don't fire the "Completed" output in a nativized build
How can i modify the param name in EQS node
What method is used to fill polygonal regions when drawing spline mesh at run time?
An error occurred while trying to generate project files !?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-64947 in the post.
9 |
Component | UE - Foundation - Cpp Tools - UnrealHeaderTool |
---|---|
Affects Versions | 4.19, 4.20, 4.21 |
Created | Oct 8, 2018 |
---|---|
Resolved | Aug 18, 2021 |
Updated | Aug 18, 2021 |