Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change SceneSpawner::spawn_dynamic_sync to return InstanceID (#11239)
# Objective `SceneSpawner::spawn_dynamic_sync` currently returns `()` on success, which is inconsistent with the other `SceneSpawner::spawn_` methods that all return an `InstanceId`. We need this ID to do useful work with the newly-created data. ## Solution Updated `SceneSpawner::spawn_dynamic_sync` to return `Result<InstanceId, SceneSpawnError>` instead of `Result<(), SceneSpawnError>`
- Loading branch information