Linked Anim Layer always causes Crash of UE5

Hello!

I’m using linked anim layers via a layer interface to override parts of my AnimGraph.
Whenever I use the “Link Anim Layer”-node, select a layer and hit compile, UE5 crashes.

Does somebody else experience this?

UE5 throws the following error in the stack:
Assertion failed: !bProcessed [File:D:/build/++UE5/Sync/Engine/Source/Runtime/Engine/Private/Animation/AnimNodeBase.cpp] [Line: 174] Initialize already in progress, circular link for AnimInstance [Character_Base_

Reads like there’s an infinity loop somewhere, but my AnimBP is completely clean - only one state machine with one state for testing purpose.

Oh man - I think I found the problem - still a bug though in my opinion.
The crash happens, if the AnimLayer has the same name as the State in the state machine.

I called my layer “idle”. The state I use the linked anim layer is called “idle” as well - that seems to cause the crash.

3 Likes

Thanks, this was my issue! Did you make a bug report of this?