Description

Cooking will fail while attempting to convert a non-data-only Blueprint class based on the native UAnimNotify class when Blueprint nativization is enabled.

Workaround in lieu of a fix would be to exclude AnimNotify-based BPs from nativization, by adding to project's DefaultEditor.ini:
[BlueprintNativizationSettings]
+ExcludedAssetTypes=/Script/Engine.AnimNotify

Steps to Reproduce
  1. Launch UE4 editor
  2. Create a new Blueprint class based on AnimNotify (NewBlueprint)
  3. Double-click 'NewBlueprint' to open it in the Blueprint editor. Add a new variable (any type/name). (This will ensure it will get nativized.)
  4. Compile, save and close the Blueprint editor.
  5. Choose Edit->Project Settings->Packaging and change Blueprint Nativization Method to "Inclusive."
  6. Choose File->Package Project->Windows->Win64 and wait for packaging to finish. An error will occur during the "cook" phase:
    [2018.10.25-20.40.58:878][217]UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: === Handled ensure: ===
    [2018.10.25-20.40.58:878][217]UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error:
    [2018.10.25-20.40.58:878][217]UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: Ensure condition failed: bFoundLinker [File:D:\Build\++UE4+Release-4.19+Compile\Sync\Engine\Source\Developer\BlueprintNativeCodeGen\Private\BlueprintNativeCodeGenManifest.cpp] [Line: 223]
    [2018.10.25-20.40.58:879][217]UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: Failed to identify the asset package that '/Game/NewBlueprint' belongs to.
    
Callstack

[2018.10.25-20.40.58:879][217]UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x000000001EB3B706 UE4Editor-Core.dll!UnknownFunction []
[2018.10.25-20.40.58:884][218]UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x000000001E89AE3A UE4Editor-Core.dll!UnknownFunction []
[2018.10.25-20.40.58:884][218]UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x000000001E8AECD6 UE4Editor-Core.dll!UnknownFunction []
[2018.10.25-20.40.58:885][218]UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x000000003C67D3A3 UE4Editor-BlueprintNativeCodeGen.dll!UnknownFunction []
[2018.10.25-20.40.58:885][218]UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x000000003C68404E UE4Editor-BlueprintNativeCodeGen.dll!UnknownFunction []
[2018.10.25-20.40.58:885][218]UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x000000003C68077A UE4Editor-BlueprintNativeCodeGen.dll!UnknownFunction []
[2018.10.25-20.40.58:885][218]UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00000000140F8EA1 UE4Editor-UnrealEd.dll!UnknownFunction []
[2018.10.25-20.40.58:886][218]UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x000000001415C0B5 UE4Editor-UnrealEd.dll!UnknownFunction []
[2018.10.25-20.40.58:886][218]UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x000000001400A580 UE4Editor-UnrealEd.dll!UnknownFunction []
[2018.10.25-20.40.58:886][218]UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x0000000014031CB0 UE4Editor-UnrealEd.dll!UnknownFunction []
[2018.10.25-20.40.58:886][218]UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x0000000019B0EB20 UE4Editor-Cmd.exe!UnknownFunction []
[2018.10.25-20.40.58:886][218]UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x0000000019B069FA UE4Editor-Cmd.exe!UnknownFunction []
[2018.10.25-20.40.58:887][218]UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x0000000019B06C4A UE4Editor-Cmd.exe!UnknownFunction []
[2018.10.25-20.40.58:887][218]UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x0000000019B14177 UE4Editor-Cmd.exe!UnknownFunction []
[2018.10.25-20.40.58:887][218]UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x0000000019B14FBF UE4Editor-Cmd.exe!UnknownFunction []
[2018.10.25-20.40.58:887][218]UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x000000006FD71FE4 KERNEL32.DLL!UnknownFunction []
[2018.10.25-20.40.58:887][218]UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x000000007117CB31 ntdll.dll!UnknownFunction []

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-65824 in the post.

38
Login to Vote

Cannot Reproduce
ComponentAnim
Affects Versions4.194.204.21
Target Fix4.23
CreatedOct 25, 2018
ResolvedJul 11, 2019
UpdatedJul 12, 2019