anim blueprint hangs when compiled. Probably a cyclic issue when compiling. A workaround is to add a delay of any time between the set node and the Draw Debug Sphere node.

Repros in the following versions:
//UE5/Release-5.0.3 CL 20979098
//UE5/Release-5.1 CL 23901901
//UE5/Release-5.2 CL 25360045

Steps to Reproduce
  1. Create a blank project in UE5 (any version)
  2. Add a skeletal mesh and animation blueprint.
  3. Open Animation BP, and add a new variable
  4. . Add Nodes to graph:
    4A. Set Variable
    4B. DrawDebugSphere
    4C. GetPlayerCharacter
    4D. Mesh(target)
    4E. Get Socket Location

Connect Nodes As Follows:

5. GetPlayer Character > Target Mesh > GetSocketLocation >> DrawDebugSphere And SET Variable
6. EventBlueprintUpdateAnimation > Set Variable > DrawDebugSphere

7. DrawDebugSphere > Set Variable

8. Compile the BP

Expected: Editor does not hang or does not allow a recursive loop to be created

Result: Editor hangs

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-188277 in the post.

Login to Vote

ComponentUE - Anim - Runtime - Anim Blueprints
Affects Versions5.
Target Fix5.3
Fix Commit26841592
Main Commit26841618
Release Commit26841592
CreatedJun 8, 2023
ResolvedAug 4, 2023
UpdatedAug 9, 2023