Skip to content

Switching map from Texture to VideoTexture require '.needsUpdate=true' #31934

@Makio64

Description

@Makio64

Description

I have a MeshBasicNodeMaterial, with a texture map, if i switch to material.map = videoTexture it might crash sometimes , if i add material.needsUpdate = true it works.

I will put an example if necessary later .

Uncaught (in promise) TypeError: Failed to execute 'createBindGroup' on 'GPUDevice': Failed to read the 'entries' property from 'GPUBindGroupDescriptor': Failed to read the 'resource' property from 'GPUBindGroupEntry': Required member is undefined.
    at WebGPUBindingUtils.createBindGroup (chunk-QEI3GEHZ.js?v=4fd91a2a:38098:19)
    at WebGPUBindingUtils.createBindings (chunk-QEI3GEHZ.js?v=4fd91a2a:37983:27)
    at WebGPUBackend.updateBindings (chunk-QEI3GEHZ.js?v=4fd91a2a:40076:23)

Reproduction steps

X

Code

X

Live example

TODO

Screenshots

No response

Version

r181 dev

Device

No response

Browser

No response

OS

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions