Description

Blendspace created within an animation blueprint from the context menu throws an assertion when packaged and ran.

Only occurs in packaged projects. The blendspace will work correctly in PIE, and stand alone.

Assertion failed: Addr < GetData() || Addr >= (GetData() + ArrayMax) [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 1516] Attempting to use a container element (000000006DE4CBC0) which already comes from the container being modified (000000006DE4CBC0, ArrayMax: 4, ArrayNum: 1, SizeofElement: 8)!
Steps to Reproduce
  1. Create a Third Person Template Blueprint Project
  2. From the Content Browser open the ThirdPerson_AnimBP assest
  3. Go to the AnimGaph
    • In the My Blueprints panel under Animation Graphs click AnimGraph
  4. Disconnect the Default State Machine from the Output Pose
  5. Right click within the graph and add BlendSpace Node
  6. Connect the BlendSpace Node to the Output Pose
  7. Double click the Blend Space Node to open it
  8. In the Details panel expand the Horizontal Axis
    • Set Name to Speed
    • Set Maximum Axis Value to 600.0
  9. In the Asset Browser drag in ThirdPersonIdle into the graph at 0
  10. In the Asset Browser drag in ThirdPersonRun into the graph at 600.0
  11. Return to the AnimGraph
  12. Right click and type in Get Speed
  13. Hook Speed variable up to the speed input of the BlendSpace Node
  14. Compile and save
  15. Package for your platform
  16. Launch the game

Expected Results:
Game launches and blend space works when moving.

Actual Results:
Game crashes with an assertion

Callstack
[2021.11.16-19.13.47:834][  0]LogWindows: Error: === Critical error: ===
[2021.11.16-19.13.47:834][  0]LogWindows: Error: 
[2021.11.16-19.13.47:834][  0]LogWindows: Error: Assertion failed: BlendSpace != nullptr [File:D:/build/++UE5/Sync/Engine/Source/Runtime/AnimGraphRuntime/Private/AnimNodes/AnimNode_BlendSpaceGraphBase.cpp] [Line: 13] 
[2021.11.16-19.13.47:834][  0]LogWindows: Error: 
[2021.11.16-19.13.47:834][  0]LogWindows: Error: 
[2021.11.16-19.13.47:834][  0]LogWindows: Error: 
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7e328e5f6 UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7e3ac0231 UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7e3ac1bad UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7e3ac198e UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7e3a85fcb UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7e3d6dad2 UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7e3d6d36a UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7e3d73925 UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7e3cadb3a UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7e3cd71b3 UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7e3a017a4 UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7e40cdafc UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7e40cdffc UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7e4b812da UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7e4b57216 UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7e4a5f7ab UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7e4a09a98 UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7e3f97cb1 UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7deae0a41 UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7deafd767 UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7deafd92a UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7deb10c40 UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ff7e5a8ac5e UnrealGame.exe!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ffe66be7bd4 KERNEL32.DLL!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: [Callstack] 0x00007ffe6868ced1 ntdll.dll!UnknownFunction []
[2021.11.16-19.13.47:834][  0]LogWindows: Error: 
[2021.11.16-19.13.47:846][  0]LogExit: Executing StaticShutdownAfterError
[2021.11.16-19.13.47:847][  0]LogWindows: FPlatformMisc::RequestExit(1)
[2021.11.16-19.13.47:847][  0]LogCore: Engine exit requested (reason: Win RequestExit)

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-135158 in the post.

8
Login to Vote

Cannot Reproduce
Fix Commit18223527
CreatedNov 16, 2021
ResolvedNov 18, 2021
UpdatedNov 19, 2021