Hi
When I create a blank project I get this error:
helpers.ts:111 Uncaught TypeError: Cannot read properties of undefined (reading ‘depthBuffer’)
at Layer.onPostCull (playcanvas-1.60.0.js:23358:40)
at ForwardRenderer.cullComposition (playcanvas-1.60.0.js:19419:20)
at ForwardRenderer.update (playcanvas-1.60.0.js:24086:11)
at ForwardRenderer.buildFrameGraph (playcanvas-1.60.0.js:23973:11)
at Func.renderComposition (playcanvas-1.60.0.js:32732:20)
at editor.once.render (viewport-application.js:70:14)
at viewport-application.js:104:21
at sentryWrapped (helpers.ts:87:17)
When I try to run a project I get this error:
Failed to link shader program. Error: C:\fakepath(279,12-41): error X3013: ‘tex2Dgrad’: no matching 2 parameter intrinsic function
C:\fakepath(279,12-41): error X3013: Possible intrinsic functions are:
C:\fakepath(279,12-41): error X3013: tex2Dgrad(sampler2D, float2|half2|min10float2|min16float2, float2|half2|min10float2|min16float2, float2|half2|min10float2|min16float2)
Warning: D3D shader compilation failed with default flags. (ps_3_0)
Retrying with avoid flow control
C:\fakepath(279,12-41): error X3013: ‘tex2Dgrad’: no matching 2 parameter intrinsic function
C:\fakepath(279,12-41): error X3013: Possible intrinsic functions are:
C:\fakepath(279,12-41): error X3013: tex2Dgrad(sampler2D, float2|half2|min10float2|min16float2, float2|half2|min10float2|min16float2, float2|half2|min10float2|min16float2)
Warning: D3D shader compilation failed with avoid flow control flags. (ps_3_0)
Retrying with prefer flow control
C:\fakepath(279,12-41): error X3013: ‘tex2Dgrad’: no matching 2 parameter intrinsic function
C:\fakepath(279,12-41): error X3013: Possible intrinsic functions are:
C:\fakepath(279,12-41): error X3013: tex2Dgrad(sampler2D, float2|half2|min10float2|min16float2, float2|half2|min10float2|min16float2, float2|half2|min10float2|min16float2)
Warning: D3D shader compilation failed with prefer flow control flags. (ps_3_0)
Failed to create D3D Shaders
[object Object]
Error compiling shader for material=Default Material pass=0 objDefs=65548
[object Object]
Can you help to solve the problem? Thanks a lot