3.8.0怎么手动清空Label使用char模式的图集?

如题,暂时使用引擎切换场景的事件来清空,但是会触发一些其他的报错:
Cannot read properties of null (reading ‘minFilter’)

TypeError: Cannot read properties of null (reading ‘minFilter’)

at e.computeHash (https://usr/cocos-js/game.js:3:311110)

at i.getSampler (https://usr/cocos-js/game.js:3:1522822)

at i.getGFXSampler (https://usr/cocos-js/game.js:3:343851)

at e.commitComp (https://usr/cocos-js/game.js:3:1167666)

at i._render (https://usr/cocos-js/game.js:3:994527)

at i.fillBuffers (https://usr/cocos-js/game.js:3:984908)

at e.walk (https://usr/cocos-js/game.js:3:1173491)

at e.walk (https://usr/cocos-js/game.js:3:1174055)

at e.walk (https://usr/cocos-js/game.js:3:1174055)

at e.walk (https://usr/cocos-js/game.js:3:1174055)

有没有更直接的方法来清理这个图集

大佬们平时都怎么处理这个呀

我一般自己写一个文本组件

大佬就是硬 :muscle: