getting "the trait Sync
is not implemented for `(dyn wgpu::context::DynContext + 'static)"
#4658
-
I am trying to use wgpu with the shipyard.
As a result, I am getting an error:
The cause of the error is having any of those three in my Render struct -
which I assume should mean that those are indeed has to be
Thanks! 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Are you running on the web? Wgpu types are only send and sync on native, on web they are !Send !Sync |
Beta Was this translation helpful? Give feedback.
Send/Sync was only removed in 0.17 I think, so if they're still on 0.16,that could explain it