The documentation for SceneKit's write(to: options: delegate: progressHandler:) indicates the function exports the scene and its contents. Does this function archive a stand alone copy of the scene or does it create references to data possibly stored elsewhere? I'm not using external resources; so there's no need to include the assetDirectoryURLs option.
My application uses on-demand resources with a twist. The resources are editable in the app; so I'm using write(to: options: delegate: progressHandler:) to persist the scene for subsequent editing in a later session. But if the ODR resources are deallocated and write(to: options: delegate: progressHandler:) has references to those ODR resources, the values for those references will me missing.
Thank you.