Open chaoticgood1 opened 3 years ago
I am able to reproduce this issue, but very inconsistently. https://gitlab.com/nitsuga5124/bevy-tic-tac-toe this is the source code of the game, and it happens randomly when placing a piece (press a number), and when it happens, the text disappears.
I've just ran your code. Please take a look on network tab (dev tools) in your browser - it seems you are loading two new textures 60 times per second :) I'll still try to investigate this, because it looks like good stress test of asset loader, but you definitely should fix texture loading on your side too (it also explains memory leak you were mentioning earlier)
@mrk-its thanks for that one! i just fixed it :P
Bevy version
0.4
Operating system & version
Ubuntu 18.04
What you did
Change the build from default bevy to wasm
What you expected to happen
Should be able to load and process the skybox
What actually happened
It is crashing
Additional information Working default bevy commit: Nickan/bevytest@d65065b
Wasm not working commit: Nickan/bevytest@e48d689
Cause of error in bevytest/src/bevy_skybox/image.rs line 126 or 127, commenting either one of them makes the panicking goes away, but won't render anything. Hope this is helpful, thanks.
Error logs