Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

For me the web build is panicking: 

Encountered an error in observer `chainboom::gameplay::npc::sound::on_death`: Parameter `ResMut<NpcAssets>` failed validation: Resource does not exist

Oh no, looks like a race condition! Could you try reloading? :)

I tried reloading four times or so and it does this every time! (Chrome, macOS)

(2 edits)

Huh, unfortunate. Wish Res was a fallible system param :D

Let me know if you decide to try a native build

(2 edits) (+1)

I think you can do Option<ResMut<NpcAssets>> if you want that behaviour.

I can confirm this issue also [Safari, macOS] refreshing does not solve the issue. Going to checkout native!