Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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: Valid

But attempting to use the cached pose gives the error. Infinite

This approach worked fine in 4.12.5 and appears to be the same as in the documentation https://docs.unrealengine.com/latest/INT/Engine/Animation/AnimHowTo/AdditiveAnimations/

Can anyone help with what changes are required for 4.13?

Product Version: UE 4.13
more ▼

asked Sep 12 '16 at 08:13 PM in Blueprint Scripting

avatar image

368 3 7 20

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

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.

more ▼

answered Sep 29 '16 at 03:51 PM

avatar image

1k 23 27 125

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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.

more ▼

answered Sep 13 '16 at 09:19 AM

avatar image

368 3 7 20

avatar image ybeaulieu Sep 14 '16 at 12:31 PM

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.


avatar image TurtleSimos Sep 14 '16 at 12:53 PM

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.

avatar image BPANDREW Sep 23 '16 at 11:06 AM

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

avatar image TurtleSimos Sep 23 '16 at 12:42 PM

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.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question