UMG crashes Android

Hey,

I’m getting a crash on Android when using UMG to move widgets.

I multiple animations that I try and play, and each one crashes the mobile when they start to play. If I remove everything from the animation (so it basically tries to play an empty animation) then everything works ok.

This is the call stack. Any ideas how to fix this?

D/UE4: Assertion failed: Pair != nullptr [File:Runtime/Core/Public/Containers/Map.h] [Line: 444] 
D/UE4: libUE4.so!FDebug::LogAssertFailedMessage(char const*, char const*, int, wchar_t const*, ...) 
D/UE4: libUE4.so!FMovieSceneRootEvaluationTemplateInstance::CallSetupTearDown(IMovieScenePlayer&, FDelayedPreAnimatedStateRestore*) 
D/UE4: libUE4.so!FMovieSceneRootEvaluationTemplateInstance::Evaluate(FMovieSceneContext, IMovieScenePlayer&, FMovieSceneSequenceID) 
D/UE4: libUE4.so!UUMGSequencePlayer::PlayInternal(double, double, double, double, int, EUMGSequencePlayMode::Type, float) 
D/UE4: libUE4.so!UUserWidget::PlayAnimation(UWidgetAnimation*, float, int, EUMGSequencePlayMode::Type, float) 
D/UE4: libUE4.so!UBP_MainMenu_C__pf2028121400::bpf__ExecuteUbergraph_BP_MainMenu__pf_5(int) 
D/UE4: libUE4.so!UUserWidget::execOnAnimationFinished(FFrame&, void*) 
D/UE4: libUE4.so!UFunction::Invoke(UObject*, FFrame&, void*) 
D/UE4: libUE4.so!UObject::ProcessEvent(UFunction*, void*) 
D/UE4: libUE4.so!UUserWidget::OnAnimationFinished(UWidgetAnimation const*) 
D/UE4: libUE4.so!UUserWidget::OnAnimationFinishedPlaying(UUMGSequencePlayer&) 
D/UE4: libUE4.so!TBaseUObjectMethodDelegateInstance<false, UUserWidget, void (UUMGSequencePlayer&)>::ExecuteIfSafe(UUMGSequencePlayer&) const 
D/UE4: libUE4.so!TBaseMulticastDelegate<void, UUMGSequencePlayer&>::Broadcast(UUMGSequencePlayer&) const 
D/UE4: libUE4.so!UUMGSequencePlayer::Tick(float) 
D/UE4: libUE4.so!UUserWidget::TickActionsAndAnimation(FGeometry const&, float) 
D/UE4: libUE4.so!UUserWidget::NativeTick(FGeometry const&, float) 
D/UE4: libUE4.so!SObjectWidget::Tick(FGeometry const&, double, float) 

Cheers,
Chris

I have same problem. :frowning:
build ver: UE4.17.1
build setting: Blueprint Nativization Method: Inclusive
error point: Play UMG Animation in construct event.

Glad it’s not just me.

I’ve tried everything I can think of to fix the issue. I don’t think this happened with 4.17, but it definitely does with 4.17.1.

Hey - Any update from Epic Staff? This is stopping me from publishing my game :frowning:

Cheers,
Chris

Same problem here

Hey - It’s been over 3 weeks and still no reply :frowning: This is the only bug preventing me from publishing. Any reply would be really appreciated

Hello Piranhi,

I was unable to reproduce the issue you are experiencing on our end. I have a couple of questions about your issue to help me investigate further.

  1. Can you reproduce this issue in a new project?
  2. If so could you provide a detailed list of steps, so that I can reproduce this issue?
  3. How many elements are you controlling through each animation?
  4. How are you calling the animation to play? Through the widget, or through another blueprint?

Thanks!

Hey ,

4.18 seems to have fixed the issue. It’s added a few weird UMG bugs, but at least the game runs now.

Just to quickly answer some of your questions:

How many elements are you controlling through each animation? - Between 1 and 10

How are you calling the animation to play? Through the widget, or through another blueprint? - Through blueprints in the widget.

Cheers,
Chris

Hello again Chris,

I am still unable to reproduce the issue you are experiencing. Were you able to reproduce the crash in a new project?

Hello,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.

Thanks!