When MotionExtrantorModifyer is applied to a skeletal mesh, it outputs an import error of AnimationModifierLibrary when the editor is launched. The project module and the AnimationModifierLibrary module are loaded in the same default phase, but in the case of C++ projects, the skeletal mesh is loaded in GameMode with chain. This causes the package to fail to load because it loads faster than the AnimationModifierLibrary is actually loaded. The workaround is to adjust the assets so that they are loaded after the module.
LogLinker: Warning: [AssetLog] *\MyProject\Content\Characters\Mannequins\Animations\Quinn\TestModifyer.uasset: VerifyImport: Failed to find script package for import object 'Package /Script/AnimationModifierLibrary' LogLinker: Warning: [AssetLog] *\MyProject\Content\Characters\Mannequins\Animations\Quinn\TestModifyer.uasset: CreateExport: Failed to load Class /Script/AnimationModifierLibrary.MotionExtractorModifier as Parent for BlueprintGeneratedClass /Game/Characters/Mannequins/Animations/Quinn/TestModifyer.TestModifyer_C - both will fail to load
In the attached reproduction project, we can reproduce this issue by launching it in the editor.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-247613 in the post.
0 |
Component | UE - Anim - Runtime |
---|---|
Affects Versions | 5.5 |
Target Fix | 5.6 |
Created | Feb 12, 2025 |
---|---|
Updated | Mar 3, 2025 |