help wanted
Repository metrics
- Stars
- (126 stars)
- PR merge metrics
- (PR metrics pending)
Description
Currently mods may cause the game to panic for several different reasons. Panics are not ideal and worsen the developer experience and should be eliminated whenever possible. Here are a few situations in which panics can occur (please let me know of others):
- A mod panics in the setup function
- A mod system panics
- A mod tries to create invalid
FilterAccess, for example by creating conflicting query access
Many of the above are solveable by delegating errors to Bevy's own error handling. But this is opt in (if I'm not mistaken), thus the game developer should be nudged towards enabling soft error handling. This is similar as to how in debug mode, the ModloaderPlugin warns a game developer to enable Bevy's watch feature for hot-reloading.