Dno how you are calling those, but if you create colliders, then raycast them in the same frame, it works not unless you call Physics.SyncTransforms() in between.
Physics.SyncTransforms()