Wednesday, August 24, 2022
HomeGame DevelopmentError on rendering Sprite after upgrading to CC 3.6 - Cocos Creator

Error on rendering Sprite after upgrading to CC 3.6 – Cocos Creator


Hello, I’ve up to date my undertaking from 3.4.1 to three.6, once I open the scene rendering nothing, I’ll get the next error:
My sport is 2D, appears sprites have concern with upgrading proccess

TypeError: Can't learn property 'passes' of undefined

at Sprite._updateBlendFunc (C:CocosDashboard_1.0.11resources.editorsCreator3.6.0resourcesresources3denginebin.cachedeveditorbundledindex.js:65745:49)

at Sprite.updateMaterial (C:CocosDashboard_1.0.11resources.editorsCreator3.6.0resourcesresources3denginebin.cachedeveditorbundledindex.js:65683:16)

at Sprite.changeMaterialForDefine (C:CocosDashboard_1.0.11resources.editorsCreator3.6.0resourcesresources3denginebin.cachedeveditorbundledindex.js:63175:18)

at Sprite._applySpriteFrame (C:CocosDashboard_1.0.11resources.editorsCreator3.6.0resourcesresources3denginebin.cachedeveditorbundledindex.js:63336:20)

at Sprite.set spriteFrame [as spriteFrame] (C:CocosDashboard_1.0.11resources.editorsCreator3.6.0resourcesresources3denginebin.cachedeveditorbundledindex.js:62859:16)

at NodeManager.createNodeFromAsset (C:CocosDashboard_1.0.11resources.editorsCreator3.6.0resourcesapp.asarbuiltinscenedistscript3dmanagernodeindex.ccc:1:18842)

at AssetManager.onDrop (C:CocosDashboard_1.0.11resources.editorsCreator3.6.0resourcesapp.asarbuiltinscenedistscript3dmanagerassetindex.ccc:1:6624)


RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments