Description

Not sure if this is an Animation or a Core issue, but a runtime Anim Node will not load properly with "-game" or in a packaged build.

The developer that made this sample read this blog post:

[Link Removed]

And tried to make their own custom animation node for their game, it doesn't do anything but pass through the pose it receives back out to the output. It functions fine in PIE, but if you try to play in a standalone game, the runtime Anim Node won't load.

For Custom Anim Nodes, there is a runtime node struct that gets loaded in game, and a graph node class that is only loaded in the editor, and as far as I can tell the user has done everything correctly to separate the two, but when playing in "-game" or in a packaged build, when the runtime anim node is loaded, it has an outer that is the (editor-only) graph node, and since that doesn't exist in a non-editor build, it fails to load, and so does the runtime anim node.

All the module setup looks correct to me, but for whatever reason it is failing.

Steps to Reproduce
  1. Unzip the attached anim node test project
  2. Generate project files and build and run the editor
  3. PIE and notice that the character animates correctly
  4. Play in standalone game or make a packaged build and notice that the character is always in a T-pose
  5. Note the log output "Failed to load '/Script/AnimNodeTestEditor': Can't find file '/Script/AnimNodeTestEditor'", included in the "callstack" field here
Callstack

[2015.10.20-09.06.48:671][ 0]LogLinker:Warning: Can't find file '/Script/AnimNodeTestEditor'
[2015.10.20-09.06.48:672][ 0]LogUObjectGlobals:Warning: Failed to load '/Script/AnimNodeTestEditor': Can't find file '/Script/AnimNodeTestEditor'
[2015.10.20-09.06.48:672][ 0]LogLinker:Warning: Can't find file for asset '/Script/AnimNodeTestEditor' while loading NULL.
[2015.10.20-09.06.48:672][ 0]LogUObjectGlobals:Warning: Failed to load '/Script/AnimNodeTestEditor': Can't find file for asset '/Script/AnimNodeTestEditor' while loading NULL.

...

[2015.10.20-09.06.48:690][ 0]LoadErrors: Info Failed to load /Game/Mannequin/Animations/ThirdPerson_AnimBP.ThirdPerson_AnimBP_C Referenced by EdGraphPin_1953
[2015.10.20-09.06.48:690][ 0]LogUObjectGlobals:Warning: Failed to load '/Script/AnimNodeTestEditor': Can't find file for asset '/Script/AnimNodeTestEditor' while loading NULL.
[2015.10.20-09.06.48:690][ 0]LogLinker:Warning: Can't find file '/Script/AnimNodeTestEditor'
[2015.10.20-09.06.48:691][ 0]LoadErrors: Info Failed to load /Game/Mannequin/Animations/ThirdPerson_AnimBP.ThirdPerson_AnimBP_C Referenced by EdGraphPin_1953
[2015.10.20-09.06.48:691][ 0]LogUObjectGlobals:Warning: Failed to load '/Script/AnimNodeTestEditor': Can't find file '/Script/AnimNodeTestEditor'
[2015.10.20-09.06.48:691][ 0]LogLinker:Warning: Can't find file for asset '/Script/AnimNodeTestEditor' while loading NULL.
[2015.10.20-09.06.48:692][ 0]LoadErrors: Info Failed to load /Game/Mannequin/Animations/ThirdPerson_AnimBP.ThirdPerson_AnimBP_C Referenced by EdGraphPin_1953

Have Comments or More Details?

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

4
Login to Vote

Won't Fix
ComponentOLD - Anim
Affects Versions4.9.24.10
CreatedOct 29, 2015
ResolvedJan 20, 2016
UpdatedJul 14, 2021