发布小游戏报错了~·3.7.2版本

我再游戏中加入 dynamicAtlasManager.enabled = true;
macro.CLEANUP_IMAGE_CACHE = false;
这2句话打包出来的微信小游戏就会报错,请问是为什么呢?


https://docs.cocos.com/creator/manual/zh/advanced-topics/dynamic-atlas.html?h=cleanup_image_cache%20
写的位置不对?

1赞

我是写在start函数中,那我写到派发事件出来的函数中就没问题了是吗?


我这样写的,打包上去还是一样的报错

image

:joy:原来是这个意思哇~~好的,我懂了,试试看~·