article thumbnail

Shader Problem in IOS

Cocos

I have a question related to shaders. I created a game in which I added a shader; it works fine in web mobile and Android, but in iOS it gives an error during rendering. How to solve this issue version-3.8.2 17:49:37 [ERROR]: [ERROR] file /Applications/Cocos/Creator/3.8.2/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm:

Shaders 40
article thumbnail

Shader on IOS error

Cocos

I have a question related to shaders. I created a game in which I added a shader; it works fine in web mobile and Android, but in iOS it gives an error during rendering. How to solve this issue version-3.8 error - Attribute a_uv0 is missing, add a dummy data for it. 17:39:35 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm:

Shaders 40
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

[CC 3.7.3] Shader Error?

Cocos

Are you using this material with normal Sprite component ? by default it’s not activated in Sprite component because the commitComp was invoked without any transform data github.com cocos/cocos-engine/blob/develop/cocos/2d/components/sprite.ts#L579-L581 If so, how did you activate USE_LOCAL for it ?

Shaders 40
article thumbnail

Annoying feature/bug?

Cocos

Sorry to litter up the forums with a question like this but I couldn’t find anything about it anywhere online… So… I have made some shaders that use time to essentially animate themselves. Whenever I attach them to a material, and then a sprite in the engine, I can see them moving in the editor as expected.

Bug 40
article thumbnail

Noob question about scripting animation

Cocos

I have intermediate knowledge with C# and have worked in “another popular engine” for years but Cocos is brand new to me. Most of my time working in cocos has been devoted to shader work. Currently, my client engineer has 5 cards being dealt and each card sprite pulls from a random card image on an atlas.

article thumbnail

Cocos creator 3.70 Scene getting blank again and again

Cocos

197 Import engine: 0.006103515625 ms C:ProgramDatacocoseditorsCreator3.7.0resourcesapp.asarbuiltinscenedistscript3dmanagerstartupindex.ccc:1 Require engine time: 1659.67919921875 ms C:ProgramDatacocoseditorsCreator3.7.0resourcesresources3denginebin.cachedeveditorbundledindex.js:19314 resources/3d/engine/bin/.cache/dev/editor/bundled/index.js.map:

Content 52
article thumbnail

Annoying feature/bug?

Cocos

Sorry to litter up the forums with a question like this but I couldn’t find anything about it anywhere online… So… I have made some shaders that use time to essentially animate themselves. Whenever I attach them to a material, and then a sprite in the engine, I can see them moving in the editor as expected.

Bug 40