HasAnyEnabledLODs crash

Hello,

I’ve been testing my game on mobile and particularly on Android. I have this weird crash that happens every once in a while and I simply can’t understand it. It is related to a particle I am spawning. The particle is used when an enemy heals itself.

Currently it is happening in HasAnyEnabledLODs function. It is a really simple function and I really don’t know how it can even crash. Moreover, this doesn’t happen all the time. This same particle would work 99% percent of the time and I really don’t know how I can trace the cause of the crash.

I use to get a very similar bug that was happening inside DetermineLODLevel. Since then I’ve created a new particle system from scratch hoping that it will resolve this problem, but it is still there. I’m using the latest binary version of UE4 (4.10.1) and testing on a Sony Experia Z3 SO-01G. Android Version 4.4.4.

I am attaching the crash log. Unfortunately I don’t know how to get line numbers to appear for logcat. [link text][1]
Here’s a link to the particle itself: [Link][2]

71530-crashlog.txt (194 KB)
[2]: https://drive…com/folderview?id=0B7hyl_6MDgbRYUFERHowa2lObWM&usp=sharing

,

First of all, I would suggest that you look over the documentation provided for [Mobile Game Development.][1] There is specifically a guide for [Textures on Mobile Platforms][2] which I feel may be exactly what you’re looking for.

Looking over your , I noticed these warnings/errors:

12-22 09:19:41.303: D/UE4(19458): [2015.12.22-09.19.41:314][  0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'WidgetTree': WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint
12-22 09:19:41.303: D/UE4(19458): [2015.12.22-09.19.41:318][  0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'WidgetTree': WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint
12-22 09:19:41.373: D/UE4(19458): [2015.12.22-09.19.41:381][  0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'WidgetTree': WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint
12-22 09:19:41.573: D/UE4(19458): [2015.12.22-09.19.41:580][  0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'WidgetTree': WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint
12-22 09:19:41.613: D/UE4(19458): [2015.12.22-09.19.41:627][  0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'WidgetTree': WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint
12-22 09:19:41.643: D/UE4(19458): [2015.12.22-09.19.41:655][  0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'WidgetTree': WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint
12-22 09:19:41.653: D/UE4(19458): [2015.12.22-09.19.41:659][  0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'WidgetTree': WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint
12-22 09:19:41.703: D/UE4(19458): [2015.12.22-09.19.41:715][  0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'WidgetTree': WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint
12-22 09:19:41.703: D/UE4(19458): [2015.12.22-09.19.41:718][  0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'WidgetTree': WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint
12-22 09:19:41.843: D/UE4(19458): [2015.12.22-09.19.41:855][  0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'WidgetTree': WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint
12-22 09:19:41.863: D/UE4(19458): [2015.12.22-09.19.41:877][  0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'WidgetTree': WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint
12-22 09:19:41.883: D/UE4(19458): [2015.12.22-09.19.41:891][  0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'WidgetTree': WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint
12-22 09:19:41.893: D/UE4(19458): [2015.12.22-09.19.41:903][  0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'WidgetTree': WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint
12-22 09:19:41.903: D/UE4(19458): [2015.12.22-09.19.41:909][  0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'WidgetTree': WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint
12-22 09:19:41.943: D/UE4(19458): [2015.12.22-09.19.41:955][  0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'WidgetTree': WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint
12-22 09:19:41.963: D/UE4(19458): [2015.12.22-09.19.41:970][  0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'WidgetTree': WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint
12-22 09:19:42.043: D/UE4(19458): [2015.12.22-09.19.42:053][  0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'WidgetTree': WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint
12-22 09:19:42.043: D/UE4(19458): [2015.12.22-09.19.42:054][  0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'WidgetTree': WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint
12-22 09:19:42.043: D/UE4(19458): [2015.12.22-09.19.42:056][  0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'WidgetTree': WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint
12-22 09:19:42.053: D/UE4(19458): [2015.12.22-09.19.42:065][  0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'WidgetTree': WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint
12-22 09:19:42.123: D/UE4(19458): [2015.12.22-09.19.42:136][  0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'WidgetTree': WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint
12-22 09:19:44.783: D/UE4(19458): [2015.12.22-09.19.44:794][  0]LogMaterial: Can't compile M_mesh_deco with cooked content, will use default material instead
12-22 09:19:44.783: D/UE4(19458): [2015.12.22-09.19.44:794][  0]LogMaterial:Warning: Failed to compile Material /Game/Artwork/Assets/Particle/_Mat/M_mesh_deco.M_mesh_deco for platform GLSL_ES2, Default Material will be used in game.
12-22 09:19:44.803: D/UE4(19458): [2015.12.22-09.19.44:815][  0]LogMaterial: Can't compile M_mesh_deco with cooked content, will use default material instead
12-22 09:19:44.803: D/UE4(19458): [2015.12.22-09.19.44:816][  0]LogMaterial:Warning: Failed to compile Material Instance /Game/Artwork/Assets/Particle/_Mat/_MaterialInstance/MI_mesh_deco2_dyn.MI_mesh_deco2_dyn with Base M_mesh_deco for platform GLSL_ES2, Default Material will be used in game.
12-22 09:19:46.693: D/UE4(19458): [2015.12.22-09.19.46:708][  0]LogActor:Warning: BP_TPSGameMode_C /Game/Maps/World_3.World_3:PersistentLevel.BP_TPSGameMode_C_0 has natively added scene component(s), but none of them were set as the actor's RootComponent - picking one arbitrarily

General Mobile Development for Unreal Engine | Unreal Engine 5.1 Documentation
[2]: Rendering Features for Mobile Games in Unreal Engine | Unreal Engine 5.1 Documentation

Hello ,

Thanks for your reply. However the material that appears in the error message isn’t really used in game. It’s used for 1 disabled emitter inside a particle that isn’t never spawned in game.

The material used for the particle compiles just fine. I really have no idea what might be causing the crash.
Also, can you please provide some info on the Blueprint Tree warning message that is being spammed? It’s not very descriptive.

I would suggest removing any assets that you’re not using outside of your project. That will eliminate any spamming within the about specific files, just make sure they’re not called in any of the blueprints that you’ve set up.

In regards to the error: LogLinker:Warning: CreateImport: Failed to load Outer for resource ‘WidgetTree’: WidgetBlueprint /Script/UMGEditor.Default__WidgetBlueprint

It looks as though it’s an issue with a widget blueprint that’s in your project. Are you using any widget blueprints? If so, exclude each one, one by one until you figure out which one is the culprit. Sadly, there isn’t a lot of information in the error .