#App running fine on chromium but not on firefox
12 messages · Page 1 of 1 (latest)
Webgpu is not supported by Firefox AFAIK you might have to switch to webgl
Have any resource as to how? I'm basically at a fresh project right now, and I wouldn't expect bevy to set webgpu by default
I tried setting it like:
pub fn start() {
App::new()
.insert_resource(DirectionalLightShadowMap { size: 4096 })
.insert_resource(ClearColor(Color::linear_rgba(
0.,
0.,
0.,
0.,
)))
.add_plugins(DefaultPlugins
.set(
AssetPlugin {
meta_check: AssetMetaCheck::Never,
..default()
})
.set(
WindowPlugin {
primary_window: Some(Window {
transparent: true,
resizable: true,
canvas: Some("#threed".to_string()),
..default()
}),
..default()
})
.set(RenderPlugin{
render_creation: RenderCreation::Automatic(WgpuSettings {
backends: Some(Backends::GL),
..default()
}),
..default()
})
)
}
``` But it still throws the same errors
Does webGL also not work?
RESOLVED (jgilbert) in Web Compatibility - Site Reports. Last updated 2024-09-19.
can't rely on any piece of software novadays huh...
Bevy version N/A [Optional] Relevant system information Fedora 40 GNOME 46 Firefox 128.0 AdapterInfo { name: "Radeon HD 3200 Graphics, or similar", vendor: 4098, device: 0, device_type: I...
Sorry this I can't help with. I just know about webgpu problem in firefox in general according to this page https://caniuse.com/?search=Webgpu
Perhaps firefox support is still rough and requires more improvements
I fixed it temporarily by changing a browser setting, as mentioed in the gh discussion