Nativize blueprint asset cause crash on device

Hello,

Since 4.15, nativize blueprint asset has been causing game to crash on android as soon as you run the app, without any kind of error message. The splash screen shows for a brief moment and then the game crashes.

I have tried both inclusive and exclusive packaging. The packing happens fine without any error but when you run it as standalone, the game crashes. Haven’t tried “Launching” and “blank project”.

The same project packaged and ran fine in 4.14 even with nativization of BP assets.

After packaging with nativize blueprint asset, the game won’t even run when you turn it off and then package. I have tried deleting build, intermediate and saved folders and packaging again. Getting the same result.
Packages fine, crashes on device as soon as you launch.

Hey Shobhitthackar,

I have a few questions/suggestions:

  • Try upgrading a copy of the project to 4.16 and see if the same issue occurs. It’s possible that the issue you’re running into is one that we are aware of and have fixed.
  • In order to test this, I’ll need a detailed list of repro steps that I can use to reproduce it on my end. Please try to reproduce the issue in a clean project and let me know if you are able.
  • Does the game crash if you package it for Windows instead?
  • Could you please provide the logs from your device so I can see if they contain more information regarding the crash?

Thanks

Hello again,

I can now provide a reproduction list with 4.16 preview 2 as I got the same error as in 4.15.

Note - Did no other changes to any default values other than mentioned below.

Using CodeWorks 1R5

136814-1r5.png

STEP 1 Created a blank project (No starter content, Mobile/Tablet , Scalable 3D/2D).

Created a new level → Default → Saved it as “NewMap”
Set the NewMap as default Maps under Mapes & Modes.

STEP 2 Changed the project settings → Packaging → Blueprints → Blueprint nativization method to “Inclusive”.

STEP 3 Went under Platforms → Android → Configured Platform files and Checked “package game data inside apk”.

STEP 4 Packaged the project with Android ETC1.

Result - The packaging was successful, installed on the device, ran the application, splash screen showed for a negligible moment and application crashed without any error message.

STEP 5 Deleted the build, intermediate and saved folders.

STEP 6 Changed the project settings → Packaging → Blueprints → Blueprint
nativization
method to “Disabled”.

STEP 7 Went under Platforms → Android → Configured Platform files.

STEP 8 Packaged the project with Android ETC1.

Result - The packaging was successful, installed on the device, ran the application, splash screen showed for a negligable moment and application crashed without any error message.

Using CodeWorks 1R4u2

136816-1r4u2.png

Repeated steps 5-8

Result - The packaging was successful, installed on the device, ran the application, worked as expected.

Deleted the build, intermediate and saved folders.
Repeated steps 2-4

Result - The packaging was successful, installed on the device, ran the application, worked as expected.

Thank you again for your help.

Hello,

While packaging with my project with nativization as inclusive, the packaging is failing and I am getting these errors with various UMG.

Error: Property has a Category set but is not exposed to the editor or Blueprints with EditAnywhere, BlueprintReadWrite, VisibleAnywhere, BlueprintRead
Only, BlueprintAssignable, BlueprintCallable keywords.

With exclusive nativization, it succeeds and works on device aswell.

Sorry for the delay on this issue. I’ve tested using the above repro, and I’m not experiencing the same crash using 1R5 as you’re reporting.

What device are you working with specifically?

xiaomi redmi 3s prime
Qualcomm Snapdragon 430
Adreno 505
3 GB RAM
Android 6.0.1

Okay thanks. Would you be able to test it on a different device by any chance?

Also, could you please provide the logs so I can take a look at the error you’re running into?

Sorry for the late reply,

In the device mentioned above, the UE4Game folder is not being created, which contains logs. So I am at a complete loss there.

I tried running the same app on a different device - Asus Zenfone ze551ml Running on Android 5.0 Chipset - Intel Atom Z3580 CPU - Quad-core 2.3 GHz GPU - PowerVR G6430 4 GB RAM.

Runs perfectly.

So I guess it is a device/Android version related issue?

Here are the logs for that device, If it helps in any case -

link text

Hi, I found this thread because blueprint nativization is causing app crash on UE4.17.2. Is there a fix coming?

Like me, it could be a device specific issue. Try with a different device.