3.8.8 BUG RenderTexture在安卓端报错 'blendState'

我在cocos3.8.8中,我想用RenderTexture让UI层显示3D人物,我的方法是用相机的targetTexture 指定这个RenderTexture,用Sprite的spriteFrame也指定这个RenderTexture,达到相机看到3D人物显示到UI层上。 但是在安卓平台,当游戏开始运行没问题,当我切换到战斗场景,在切换回UI场景就报错blendState,下面是具体报错。大佬看看,我工程原来是3.8.1版本,完全正常,现在升级到3.8.8,这里就报错了,就不显示了。大佬们看看,十分感谢!
E attributionTag not declared in manifest of com.nimigame.startgame
2025-12-19 08:43:49.386 707-1044 AppOps system_server
E attributionTag not declared in manifest of com.nimigame.startgame
2025-12-19 08:43:49.629 9744-9763 Cocos com.nimigame.startgame
E 00:43:49 [ERROR]: JS: TypeError: Cannot read properties of undefined (reading ‘blendState’)
TypeError: Cannot read properties of undefined (reading ‘blendState’)
at t._updateBlendFunc (src/cocos-js/cc.js:1:627723)
at t.updateMaterial (src/cocos-js/cc.js:1:627142)
at t.changeMaterialForDefine (src/cocos-js/cc.js:1:646051)
at t._applySpriteFrame (src/cocos-js/cc.js:1:647686)
at set spriteFrame [as spriteFrame] (src/cocos-js/cc.js:1:643879)
at I.DrawModel (assets/main/index.jsc:59:3198)
at assets/main/index.jsc:59:1922
at a.dispatchEvent (assets/main/index.jsc:93:734)
at ie.startMainUI (assets/main/index.jsc:139:5778)
at ie.start (assets/main/index.jsc:139:3384)
我尝试了重新加载Sprite,更换Sprite,更换相机,更换RenderTexture,当切换场景后,在切换回UI场景要显示的时候,还是报以上错误。无奈之下请大神帮助~~

有技术人员帮忙看下吗?这个是不是引擎bug.能修复吗?

没人遇到过这种情况吗?

就是UI开始渲染你的图片的时候 那边RT得东西还没准备好。让AI给你改能改好,是引擎bug

你好,方便提供可复现的demo ?