Skip to content

import path bevy_render::maths not found on chromium mac #19228

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Vrixyz opened this issue May 16, 2025 · 1 comment
Closed

import path bevy_render::maths not found on chromium mac #19228

Vrixyz opened this issue May 16, 2025 · 1 comment
Labels
C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled

Comments

@Vrixyz
Copy link
Member

Vrixyz commented May 16, 2025

Bevy version

main as of 1395152

System information

If you cannot get Bevy to build or run on your machine, please include:

  • cargo version: cargo 1.87.0 (99624be96 2025-05-06)
  • MacOS Sequoia 15.4.1
  • Arc: Version 1.94.0 (62506)
    • Chromium Engine Version 136.0.7103.93
`AdapterInfo { name: "ANGLE (Apple, ANGLE Metal Renderer: Apple M3 Pro, Unspecified Version)", vendor: 4203, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "WebGL 2.0 (OpenGL ES 3.0 Chromium)", backend: Gl }`

What you did

Run cargo run --example extended_material --target wasm32-unknown-unknown

What went wrong

INFO crates/bevy_render/src/batching/gpu_preprocessing.rs:1130 GPU preprocessing is not supported on this device. Falling back to CPU preprocessing.
WARN crates/bevy_core_pipeline/src/oit/resolve/mod.rs:83 OrderIndependentTransparencyPlugin not loaded. GPU lacks support: DownlevelFlags::FRAGMENT_WRITABLE_STORAGE.
WARN crates/bevy_pbr/src/ssao/mod.rs:92 ScreenSpaceAmbientOcclusionPlugin not loaded. GPU lacks support: TextureFormat::R16Float does not support TextureUsages::STORAGE_BINDING.
WARN crates/bevy_pbr/src/atmosphere/mod.rs:170 AtmospherePlugin not loaded. GPU lacks support for compute shaders.
INFO crates/bevy_core_pipeline/src/dof/mod.rs:824 Disabling depth of field on this platform because depth textures aren't supported correctly
ERROR crates/bevy_render/src/render_resource/pipeline_cache.rs:1034 failed to process shader:error: required import 'bevy_render::maths' not found    ┌─ crates/bevy_core_pipeline/src/tonemapping/tonemapping_shared.wgsl:335:13    │335      color = powsafe(color * gain + lift, 1.0 / gamma);                 ^        = missing import 'bevy_render::maths'
ERROR crates/bevy_render/src/render_resource/pipeline_cache.rs:1034 failed to process shader:error: required import 'bevy_render::maths' not found   ┌─ crates/bevy_pbr/src/render/mesh_functions.wgsl:18:12   │18      return affine3_to_square(mesh[instance_index].world_from_local);               ^      = missing import 'bevy_render::maths'

Additional information

To be noted, on firefox on the same machine I expectedly encountered the following bug:

@Vrixyz Vrixyz added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels May 16, 2025
@Vrixyz
Copy link
Member Author

Vrixyz commented May 16, 2025

Duplicate of #19226

@Vrixyz Vrixyz marked this as a duplicate of #19226 May 16, 2025
@Vrixyz Vrixyz closed this as completed May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled
Projects
None yet
Development

No branches or pull requests

1 participant