# 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>` |
||
|---|---|---|
| .. | ||
| bundle.rs | ||
| dynamic_scene_builder.rs | ||
| dynamic_scene.rs | ||
| lib.rs | ||
| scene_filter.rs | ||
| scene_loader.rs | ||
| scene_spawner.rs | ||
| scene.rs | ||
| serde.rs | ||