-
I was making something for a gamejam and tried making a wasm build for web but I keep running into the following error about time not being implemented. I found some previous issues mentioning std::time being broken on web and mention of replacing all occurrences in bevy. #881 But as far as i can tell it seems to have changed again since then. I tried everything I could think of to replace/remove imports of std::time but it didn't seem to help. Only thing I haven't tried was removing all timers or uses of Time entirely and tracking time some other way instead, as I wanted to ask if that's the culprit before potentially wasting time. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment · 1 reply
-
You can see where the error is originating from by inspecting it closely. It looks like big-brain is using You'll need to patch I filed an issue upstream: zkat/big-brain#117 |
Beta Was this translation helpful? Give feedback.
You can see where the error is originating from by inspecting it closely. It looks like big-brain is using
std::time::Instant
.You'll need to patch
big-brain
to usebevy::platform::time::Instant
instead.I filed an issue upstream: zkat/big-brain#117