Bevy 0.17.3 (downgraded to use Rapier)
The following code:
fn main() {
App::new()
.insert_resource(ClearColor(Color::linear_rgb(0.2, 0.4, 1.0)))
.add_plugins(DefaultPlugins)
.add_systems(Startup, save_scene)
.run();
}
fn save_scene(world: &mut World) {
let registry = world.resource::<AppTypeRegistry>();
let scene = DynamicScene::from_world(world);
let serialized_scene = scene.serialize(®istry.read());
info!("{:?}", serialized_scene);
}```
Results in the following error:
```type `bevy_platform::sync::Arc<core::sync::atomic::AtomicBool>` did not register the `ReflectSerialize` or `ReflectSerializeWithRegistry` type data. For certain types, this may need to be registered manually using `register_type_data` (stack: `bevy_a11y::AccessibilityRequested` -> `bevy_platform::sync::Arc<core::sync::atomic::AtomicBool>`)```
I don't really know where the call to AtomicBool comes from, and I'm trying to find a workaround.
I have found a relevant github issue (https://github.com/bevyengine/bevy/issues/22816), but can anyone help me find a workaround in the meantime?