Scene.GetRootGameObjects() is not exposed so it would be great if there was an alternative static method provided that returns an array of the root GameObjects in the scene.
For example:
GameObject[] rootGameObjects = new GameObject[VRCScene.rootCount];
VRCScene.GetRootGameObjects(rootGameObjects);
or simply:
GameObject[] rootGameObjects = VRCScene.GetRootGameObjects();