4.15BUG:Blueprint Nativization failed

I just create a default First Person template project and change the BlueprintNativizationMethod to Inclusive,and package the game to Android Vulkan(ASTC),it will fail with errors:

[2017.02.16-05.47.29:092][229]UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: This application has requested the Runtime to terminate it in an unusual way.
[2017.02.16-05.47.29:092][229]UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Please contact the application's support team for more information.
[2017.02.16-05.47.30:424][233]UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Assertion failed!
[2017.02.16-05.47.30:425][233]UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: 
[2017.02.16-05.47.30:425][233]UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Program: F:\\android-ndk-r10e\toolchains\llvm-3.6\prebuilt\windows-x86_64\bin\clang++.exe
[2017.02.16-05.47.30:425][233]UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: File: /s/ndk-toolchain/src/llvm-3.6/llvm/tools/clang/lib/AST/DeclBase.cpp, Line 1299
[2017.02.16-05.47.30:425][233]UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: 
[2017.02.16-05.47.30:425][233]UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Expression: DeclKind != Decl::LinkageSpec && "Should not perform lookups into linkage specs!"
[2017.02.16-05.47.30:426][233]UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Assertion failed!

Here’s the log file:[link text][1]Thanks!

126464-myproject.txt (375 KB)

,

Can you please make sure that your Android SDK is updated to the correct versions for 4.15? Please also upload your full error output log as a .txt file.

126554-2-16-2017+11-06-42+am.png

Thank you!

Thanks!After upgrading the NDK to the newest,the previous error does not occur.However,the build still fails for my project not the Unreal template project.
Here’s the log file:[link text][1]

[2017.02.17-07.19.05:753][109]UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)

126682-td_toonworld.txt (2.28 MB)

After updating that information, did you try deleting your Intermediate and Saved folders again? Would you mind uploading your Android SDK as well? Can you package a new, clean template?

Looking forward to hearing back from you. :slight_smile:

Thanks!That works!

However,I have come across a crash when I launch the game on my galaxy s7e.Here’s the error output(PS I used the inclusive setting for nativization):

D/UE4     : [2017.02.22-07.25.53:840][230]Allocator Stats for ANSI: (not implemented)
D/UE4     : Fatal error: [File:D:\Build\++UE4+Release-4.15+Compile\Sync\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading.cpp] [Line: 1558] 
D/UE4     : FAsyncPackage::FindExistingImport class mismatch EnumProperty != ByteProperty
D/UE4     : [2017.02.22-07.25.53:864][230]Assertion failed: Assertion failed:  [File:D:\Build\++UE4+Release-4.15+Compile\Sync\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading.cpp] [Line: 1558] 
D/UE4     : FAsyncPackage::FindExistingImport class mismatch EnumProperty != ByteProperty
D/UE4     : [2017.02.22-07.25.53:874][230]LogWindows: FAndroidMisc::RequestExit(1)

Here’s the full output file:[link text][1]

127258-output.txt (33.4 KB)

I think it have something to do with the enum,but when I compile the blueprints,no error concerning enum occurs,and my game plays well in PIE and in packaged android(no code) and ios(no code) games.

Any information available?Thanks!

So the issue you’re running to here is different than the previous issue. I must request that you post a new thread in AnswerHub so we can keep these separated.

  • Are you using the same project as above.
  • Does this happen in a blank project with the same settings selected?

Thanks!

I am also getting this enum != byte issue in 4.18.2. Only happens when I use nativization. Did you by figure out a solution?