Apologies for bumping an old thread, but I think I have a very similar problem and would appreciate some insight.
I had a small project on 4.25 that was set up with a game module and an editor module. The game module contained the anim node, and the editor module the graph node. Now I am trying to do this again with a 4.26 project and running into the same warning @illYay mentioned above. I have a project configured as follows:
uproject file:
"Modules":
{ "Name": "SpaceGame", "Type": "Runtime", "LoadingPhase": "Default", "AdditionalDependencies": "Engine", "UMG" ] },
{ "Name": "SpaceGameEditor", "Type": "Editor", "LoadingPhase": "PostEngineInit" }
]
My SpaceGameEditor target has
Type = TargetType.Editor;
in the Target.cs file. Right now the animation node itself does nothing (pass through).
Whenever I run my project (in editor mode) I get the following errors:
Fri Mar 19 15:33:04 PDT 2021 Warning LogLinker [AssetLog] C:\ ... \FirstPerson_AnimBP.uasset: Failed to load '/Script/SpaceGameEditor': Can't find file.
And the node vanishes from my graph. I can add it back and save, but on re-launch it will be gone again.
Additionally, when running the game in standalone mode it looks like something odd is happening. Specifically my mesh is rotated 90 degrees, but only in the animation state that uses the custom node (like the graph is indeed broken due to the missing node, or something to that effect). If I just remove the custom node, it works fine in standalone mode.
I tried two of the things listed above:
- Add UncookedOnly in the uproject
- Set UncookedOnly in the build.cs file
However neither appears to fix either issue (the error still prints in editor mode, and the animation is broken). Any thoughts?