As context specifically I am reading some config file values in the c++ side and sending them over to swift so that the immersive space is opened in .full or .mixed and with the specified hand visibility). So this is all happening pretty early in engine startup, but in principle it should work the same way later.
The pre-existing path is how we block engine startup until the swift window is dismissed and we launch the immersive space.