Skip to content
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

error attempting to use UV channel 1 #12

Open
trobins78 opened this issue Feb 16, 2024 · 0 comments
Open

error attempting to use UV channel 1 #12

trobins78 opened this issue Feb 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@trobins78
Copy link

[Window] Cannot read property 'localSetLayout' of undefined
TypeError: Cannot read property 'localSetLayout' of undefined
at process:scene
at SubModel.set passes [as passes] (C:\ProgramData\cocos\editors\Creator\3.8.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:217296:40)
at Model.setSubModelMaterial (C:\ProgramData\cocos\editors\Creator\3.8.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:214510:39)
at MeshRenderer._onRebuildPSO (C:\ProgramData\cocos\editors\Creator\3.8.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:194459:23)
at MeshRenderer._onMaterialModified (C:\ProgramData\cocos\editors\Creator\3.8.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:194447:16)
at MeshRenderer.setMaterialInstance (C:\ProgramData\cocos\editors\Creator\3.8.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:24946:20)
at MeshRenderer.set material [as material] (C:\ProgramData\cocos\editors\Creator\3.8.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:24834:16)
at ShaderGraphPreview.setMaterial (D:\Work_Related\GITHUB_REPOS\playspace\extensions\shader-graph\src\contributions\preview\shader-graph-preview.ts:159:26)
at PreviewScene.setMaterial (D:\Work_Related\GITHUB_REPOS\playspace\extensions\shader-graph\src\contributions\preview-scene.ts:17:28)
at Object.updateMaterial (D:\Work_Related\GITHUB_REPOS\playspace\extensions\shader-graph\src\contributions\scene.ts:110:22)
at PluginManager.executeSceneScript (C:\ProgramData\cocos\editors\Creator\3.8.2\resources\app.asar\builtin\scene\dist\script\3d\manager\plugin.ccc:1:2360)

Steps to reproduce the behavior:

  • Simply use the UV node in a graph and attempt to use a channel other than 0.

My current example is as follows:

image

  • OS: Win 11
@trobins78 trobins78 added the bug Something isn't working label Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant