-
-
Notifications
You must be signed in to change notification settings - Fork 260
ColliderCachePlugin is missing a dependency on AssetEvent<Mesh> / bevy_mesh::MeshPlugin #983
Copy link
Copy link
Open
Labels
A-CollisionRelates to the broad phase, narrow phase, colliders, or other collision functionalityRelates to the broad phase, narrow phase, colliders, or other collision functionalityC-UsabilityA quality-of-life improvement that makes Avian easier to useA quality-of-life improvement that makes Avian easier to useP-CrashA sudden unexpected crashA sudden unexpected crashS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!This issue is ready for an implementation PR. Go for it!
Metadata
Metadata
Assignees
Labels
A-CollisionRelates to the broad phase, narrow phase, colliders, or other collision functionalityRelates to the broad phase, narrow phase, colliders, or other collision functionalityC-UsabilityA quality-of-life improvement that makes Avian easier to useA quality-of-life improvement that makes Avian easier to useP-CrashA sudden unexpected crashA sudden unexpected crashS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!This issue is ready for an implementation PR. Go for it!
Type
Fields
Give feedbackNo fields configured for issues without a type.
avian3d: 0.6.
In Bevy's
MeshPluginit callsapp.init_asset::<Mesh>().But Avian never registers
MeshPluginitself.This means that if you are, say, writing a user land unit test which installs Avian's
PhysicsPlugins::default()(along with, say,MinimalPluginsand the user land plugin you are testing), then when the unit test runs, it will crash with:The options I see are:
Ifto the system param.ColliderCachePlugin, make it conditionally addMeshPluginsince it necessarily depends on it being registered.