Cached pose infinite recursion error

After upgrading from 4.12.5 to 4.13

“Infinite recursion detected with SaveCachePose” when trying to use a saved cache pose.

This compiles fine:

But attempting to use the cached pose gives the error.

This approach worked fine in 4.12.5 and appears to be the same as in the documentation

Can anyone help with what changes are required for 4.13?

Tried again and it worked. No idea why it didn’t work previously.

I found the following console variable in the source:
a.Compiler.CachePoseNodeUpdateOrderDebug.Enable

Enabling it didn’t seem to create any output for this case, but may help others.

I have the same problem, but I can’t find a way to fix it. What do you mean by “Tried again and it worked”? I tried unplugging the faulty cached poses, compiling, reconnecting them and it still won’t compile, saying there’s an infinite recursion.

Thanks!

Recreated the cached pose from scratch, not just the connections. Believe the root problem was a recursion from trying to use the cached pose inside the state engine that was being cached.
Currently rebuilding the setup so that the main movement is in state engine which is cached to a pose, then a second state engine contains the additive animations that use the cached pose as the base to add onto.

I too am having this issue, did this work for you? I was hoping the recent changes in 4.13.1 from git would have resolved this

It is working fine, but we weren’t able to track down the original problem. We were sure that the approach we had of where the cached pose was updated was wrong however.

I found how this was manifesting itself in my anim BP

my locomotion state was being put into a cache, however inside of that state machine i was actually referencing the cache. it turns out I didn’t need to at all so i yanked the code and we’re green again.