Skip to content

wasm builds are broken: 'data' : array members of structs must specify a size #4946

@mockersf

Description

@mockersf

Bevy version

main. this happens since cc4062e (#4867)

What you did

Run the lighting example in wasm

What went wrong

panicked at 'wgpu error: Validation Error

Caused by:
    In Device::create_render_pipeline
      note: label = `shadow_pipeline`
    Internal error in VERTEX shader: ERROR: 0:39: 'data' : array members of structs must specify a size
ERROR: 0:42: 'data' : array members of structs must specify a size
ERROR: 0:45: 'data' : array members of structs must specify a size

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorO-WebSpecific to web (WASM) buildsP-HighThis is particularly urgent, and deserves immediate attention

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions