-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Description
Bevy version
main
The release number or commit hash of the version you're using.
[dependencies.bevy]
git = "https://github.com/bevyengine/bevy.git"
rev = "543465b721048355e34eb6078923645747c1d44b"
[Optional] Relevant system information
105.0.1 (64-bit)
Mac OSX Monterrey 12.5
Processor Name: Quad-Core Intel Core i7
Processor Speed: 2.6 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 6 MB
Hyper-Threading Technology: Enabled
Memory: 16 GB
Numerous reports from people I shared this game with indicated that the web assembly build is slow, stalls, or crashes.
I've tried it on 3 different machines (1 Skylake PC running Ubuntu 22.04, an M1 Mac, and on the above listed laptop). On the above listed laptop certain models do not get shaded or lit correctly. All build choke for at least 2 seconds after pressing the start button.
I suspect there is some sort of threading issue.
If you cannot get Bevy to build or run on your machine, please include:
- the Rust version you're using (you can get this by running
cargo --version)
cargo 1.63.0 (fd9c4297c 2022-07-01)
If your bug is rendering-related, copy the adapter info that appears when you run Bevy.
What you did
Play the webassembly build of the above-linked game
Describe how you arrived at the problem. If you can, consider providing a code snippet or link.
What went wrong
If it's not clear, break this out into:
- what were you expecting?
Significantly better performance for WASM builds given the engine and language being used. - what actually happened?
Very poor performance on WASM builds.