I have a game module that has an AnimNode. I created a corresponding AnimGraphNode but that has to go into a separate Editor only module.
My editor starts up correctly after I configured it this way, and packaging is able to run because I split off the AnimGraphNode into an editor only module.
the .uprojectFile:
{
"FileVersion": 3,
"EngineAssociation": "{331638DA-407F-82D5-E82C-BAB789D02694}",
"Category": "",
"Description": "",
"Modules": [
{
"Name": "AEFramework",
"Type": "Runtime",
"LoadingPhase": "Default"
},
{
"Name": "AEFrameworkEditor",
"Type": "Editor",
"LoadingPhase": "Default"
},
{
"Name": "Wraith",
"Type": "Runtime",
"LoadingPhase": "Default"
}
]
}
However I can’t run play standalone. It closes the window immediately and I see these errors in the logs under /Saved. I haven’t actually tried running the packaged version either due to some temporary blueprint compiler errors preventing the process from finishing, but another project that uses my framework was able to package to completion a while ago. I didn’t have errors because that other project was brand new and wasn’t actually using anything yet.
The errors seem to be happening because I’m using the AnimNode and it’s failing to load the AnimGraphNode due to that being in an editor only module. However, Unreal Engine itself is set up this way and it doesn’t fail normally, so not sure why it wants to load the AnimGraphNode in a game only configuration.
[2017.01.18-10.00.42:715][ 0]LogLinker:Warning: Can't find file '/Script/AEFrameworkEditor'
[2017.01.18-10.00.42:715][ 0]LogUObjectGlobals:Warning: Failed to load '/Script/AEFrameworkEditor': Can't find file '/Script/AEFrameworkEditor'
[2017.01.18-10.00.42:716][ 0]LogLinker:Warning: Can't find file for asset '/Script/AEFrameworkEditor' while loading NULL.
[2017.01.18-10.00.42:716][ 0]LogUObjectGlobals:Warning: Failed to load '/Script/AEFrameworkEditor': Can't find file for asset '/Script/AEFrameworkEditor' while loading NULL.
[2017.01.18-10.00.42:754][ 0]LogLinker:Warning: Can't find file '/Script/AEFrameworkEditor'
[2017.01.18-10.00.42:754][ 0]LoadErrors: Info Failed to load /Game/Characters/Human/Animations/CH_WRHuman_AnimBlueprint.CH_WRHuman_AnimBlueprint_C Referenced by AnimGraph
[2017.01.18-10.00.42:754][ 0]LogUObjectGlobals:Warning: Failed to load '/Script/AEFrameworkEditor': Can't find file '/Script/AEFrameworkEditor'
[2017.01.18-10.00.42:754][ 0]LogLinker:Warning: Can't find file for asset '/Script/AEFrameworkEditor' while loading NULL.
[2017.01.18-10.00.42:754][ 0]LoadErrors: Info Failed to load /Game/Characters/Human/Animations/CH_WRHuman_AnimBlueprint.CH_WRHuman_AnimBlueprint_C Referenced by AnimGraph
[2017.01.18-10.00.42:754][ 0]LogUObjectGlobals:Warning: Failed to load '/Script/AEFrameworkEditor': Can't find file for asset '/Script/AEFrameworkEditor' while loading NULL.
[2017.01.18-10.00.42:754][ 0]LogLinker:Warning: Can't find file '/Script/AEFrameworkEditor'
[2017.01.18-10.00.42:755][ 0]LoadErrors: Info Failed to load /Script/AEFrameworkEditor.AEAnimGraphNode_CopyBoneFromSceneComponent Referenced by AnimGraph
[2017.01.18-10.00.42:755][ 0]LogUObjectGlobals:Warning: Failed to load '/Script/AEFrameworkEditor': Can't find file '/Script/AEFrameworkEditor'
[2017.01.18-10.00.42:755][ 0]LogLinker:Warning: Can't find file for asset '/Script/AEFrameworkEditor' while loading NULL.
[2017.01.18-10.00.42:755][ 0]LoadErrors: Info Failed to load /Script/AEFrameworkEditor.AEAnimGraphNode_CopyBoneFromSceneComponent Referenced by AnimGraph
[2017.01.18-10.00.42:755][ 0]LogUObjectGlobals:Warning: Failed to load '/Script/AEFrameworkEditor': Can't find file for asset '/Script/AEFrameworkEditor' while loading NULL.
[2017.01.18-10.00.42:779][ 0]LogLinker:Warning: Can't find file '/Script/AEFrameworkEditor'
[2017.01.18-10.00.42:779][ 0]LoadErrors: Info Failed to load /Game/Characters/Human/Animations/CH_WRHuman_AnimBlueprint.CH_WRHuman_AnimBlueprint_C Referenced by AnimGraphNode_TwoBoneIK_0
[2017.01.18-10.00.42:779][ 0]LogUObjectGlobals:Warning: Failed to load '/Script/AEFrameworkEditor': Can't find file '/Script/AEFrameworkEditor'
[2017.01.18-10.00.42:779][ 0]LogLinker:Warning: Can't find file for asset '/Script/AEFrameworkEditor' while loading NULL.
[2017.01.18-10.00.42:779][ 0]LoadErrors: Info Failed to load /Game/Characters/Human/Animations/CH_WRHuman_AnimBlueprint.CH_WRHuman_AnimBlueprint_C Referenced by AnimGraphNode_TwoBoneIK_0
[2017.01.18-10.00.42:779][ 0]LogUObjectGlobals:Warning: Failed to load '/Script/AEFrameworkEditor': Can't find file for asset '/Script/AEFrameworkEditor' while loading NULL.
[2017.01.18-10.00.42:780][ 0]LogLinker:Warning: Can't find file '/Script/AEFrameworkEditor'
[2017.01.18-10.00.42:780][ 0]LoadErrors: Info Failed to load /Script/AEFrameworkEditor.AEAnimGraphNode_CopyBoneFromSceneComponent Referenced by AnimGraphNode_TwoBoneIK_0
[2017.01.18-10.00.42:780][ 0]LogUObjectGlobals:Warning: Failed to load '/Script/AEFrameworkEditor': Can't find file '/Script/AEFrameworkEditor'
[2017.01.18-10.00.42:780][ 0]LogLinker:Warning: Can't find file for asset '/Script/AEFrameworkEditor' while loading NULL.
[2017.01.18-10.00.42:780][ 0]LoadErrors: Info Failed to load /Script/AEFrameworkEditor.AEAnimGraphNode_CopyBoneFromSceneComponent Referenced by AnimGraphNode_TwoBoneIK_0
[2017.01.18-10.00.42:780][ 0]LogUObjectGlobals:Warning: Failed to load '/Script/AEFrameworkEditor': Can't find file for asset '/Script/AEFrameworkEditor' while loading NULL.
[2017.01.18-10.00.42:787][ 0]LogWindows: Windows GetLastError: The operation completed successfully. (0)
[2017.01.18-10.00.42:787][ 0]LogWindows:Error: === Critical error: ===
[2017.01.18-10.00.42:787][ 0]LogWindows:Error:
[2017.01.18-10.00.42:787][ 0]LogWindows:Error: Assertion failed: LocalOwningNode [File:F:\Code\UnrealEngine\Engine\Source\Runtime\Engine\Private\EdGraph\EdGraphPin.cpp] [Line: 1505]
[2017.01.18-10.00.42:787][ 0]LogWindows:Error:
[2017.01.18-10.00.42:787][ 0]LogWindows:Error:
[2017.01.18-10.00.42:787][ 0]LogWindows:Error:
[2017.01.18-10.00.42:787][ 0]LogWindows:Error: