Hi
Depending on your project settings the physics may not be synced yet.
Try calling Physics.SyncTransforms() before scanning the graph.
See https://docs.unity3d.com/ScriptReference/Physics.SyncTransforms.html
This has been fixed in my dev version so that SyncTransform is always called before scanning a graph.