My UE version is 4.20.2
When I use “_DEPRECATED” to move some UProperty into a new UStruct, it works find for float and int types. but if the UProperty is type of “Enum” , it’s values is always 0. Is there something I missed? Need help. thx
Code:
UPROPERTY()
TEnumAsByte<enum ECollisionChannel> CollisionChannel_DEPRECATED;
UPROPERTY()
int HitVEffectID_DEPRECATED;
In PostLoad method,
The value of CollisionChannel_DEPRECATED always be 0, I am sure its orgin value in assets package is not 0.
The value of HitVEffectID_DEPRECATED works fine.
Very strange…