版本:cocos creator 2.4.3
源码:
let bundle = GL.bundleManager.getBundleByName(GL.roomConst.sceneName);
if (bundle) bundle.releaseAll();
if (bundle) cc.assetManager.removeBundle(bundle);
报错:Uncaught TypeError: Cannot read property ‘releaseAll’ of undefined
不知道是啥原因,有一定几率会出现这个错,并且会闪退