You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
in the context of CR controls, creating a constraint between two controls within the same CR or something like hand_r_ctrl -> static mesh -> hand_l_ctrl creates a cycle.
the underlying tick functions + tick prerequisites will create a cycle skel mesh -> const0 -> static mesh -> const1 -> skel mesh
this cycle creates an undetermined behavior when activating/disactivating constraints as their order within the tick task manager can vary
to avoid this, we then remove the skel mesh prerequisite of const0 if const1 is active and add it if const1 is off so that the task manager is always evaluating constraints in the right order
note that this is a particular case for controls as we prevent cycles from being created for other components.
#jira UE-163593
#rb mike.zyracki
#preflight 635303099e14ee3c79b2bd06
[CL 22712146 by benoit gadreau in ue5-main branch]