Nativization regression in 4.20 preview 1. Cannot nativize overridden functions.
Log Output:
UATHelper: Packaging (Windows (64-bit)): D:/Projects/Unreal/NativizeMethod/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Public/TestDerivedActor__pf1010915279.h(17) : LogCompile: Error: bpf__Print__pf: Override of UFUNCTION in parent class (TestBaseActor_C__pf1010915279) cannot have a UFUNCTION() declaration above it; it will use the same parameters as the original declaration. PackagingResults: Error: bpf__Print__pf: Override of UFUNCTION in parent class (TestBaseActor_C__pf1010915279) cannot have a UFUNCTION() declaration above it; it will use the same parameters as the original declaration. UATHelper: Packaging (Windows (64-bit)): Error: UnrealHeaderTool failed for target 'NativizeMethod' (platform: Win64, module info: D:\Projects\Unreal\NativizeMethod\Intermediate\Build\Win64\NativizeMethod\Development\NativizeMethod.uhtmanifest, exit code: OtherCompilationError (5)).
Sample project attached
1. Create BP class based on actor (e.g. TestBase).
2. Add any new function, call it e.g. Print. Add a print text node to the Print function.
3. Create BP class based on TestBase, e.g. TestDerived.
4. Override function (e.g. Print) from TestBase in TestDerived, also add a different Print Text node.
5. Place Actors in level.
6. Package with nativization set to "inclusive".
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-60119 in the post.
5 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.20 |
Target Fix | 4.20 |
Created | Jun 7, 2018 |
---|---|
Resolved | Jun 14, 2018 |
Updated | Jul 2, 2018 |