Since I updated to version 9.5, my scene no longer starts. If I go back to the previous version, it works.
I don’t know how to reproduce it, because I don’t know what it is, but the previous version works at home.
I specify that it works if I use WebGL, but not with WebGPU.
Here’s what I have in the console. (But not put the complete console, because it is much tromp long)
babylon.js?1777731799:1 BJS - [16:23:20]: Babylon.js v9.5.0 - WebGPU1 engine
babylon.js?1777731799:1 BJS - [16:23:21]: [Frame 17] WebGPU uncaptured error (1): [object GPUValidationError] - Error while parsing WGSL: :166:36 error: unresolved value ‘scene’
vertexOutputs.vPositionFromCamera1=scene.view*worldPos;
^^^^^
- While calling [Device “BabylonWebGPUDevice0”].CreateShaderModule([ShaderModuleDescriptor ““vertex””]).
e._LogEnabled @ babylon.js?1777731799:1
index.php?project=Sandbox:1 Error while parsing WGSL: :166:36 error: unresolved value ‘scene’
vertexOutputs.vPositionFromCamera1=scene.view*worldPos;
^^^^^
- While calling [Device “BabylonWebGPUDevice0”].CreateShaderModule([ShaderModuleDescriptor ““vertex””]).
babylon.js?1777731799:1 BJS - [16:23:21]: [Frame 18] WebGPU uncaptured error (2): [object GPUValidationError] - [Invalid ShaderModule “vertex”] is invalid due to a previous error.
- While validating vertex stage ([Invalid ShaderModule “vertex”], entryPoint: “main”).
- While validating vertex state.
- While calling [Device “BabylonWebGPUDevice0”].CreateRenderPipeline([RenderPipelineDescriptor "“RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4_textureState1"”]).
index.php?project=Sandbox:1 Error while parsing WGSL: :168:36 error: unresolved value ‘scene’
vertexOutputs.vPositionFromCamera1=scene.view*worldPos;
- While calling [Device “BabylonWebGPUDevice0”].CreateShaderModule([ShaderModuleDescriptor ““vertex””]).
index.php?project=Sandbox:1 [Invalid ShaderModule “vertex”] is invalid due to a previous error.
- While validating vertex stage ([Invalid ShaderModule “vertex”], entryPoint: “main”).
- While validating vertex state.
- While calling [Device “BabylonWebGPUDevice0”].CreateRenderPipeline([RenderPipelineDescriptor "“RenderPipeline_rgba8unorm_depth24plus-stencil8_samples4_textureState1"”]).