[LayaAirIDE 1.0]缓存动画图片会有上限嘛

发现加载swf动画过多会出现这个问题,然后有些动画里面的图就变成破图了
LayaAir1.8.0.1beta
AtlasResourceManager:Dispose the inner Atlas。
>>>>altas garbageCollection =1
[.CommandBufferContext]RENDER WARNING: there is no texture bound to the unit 0
使用Laya.loader.clearRes(path)释放资源也无效;求救
已邀请:

Jiangxiaoyu

赞同来自: layabox

AtlasResourceManager类里面有个大图管理数量,默认是6
public static function __init__():void {
atlasTextureWidth = 2048;
atlasTextureHeight = 2048;
maxTextureCount = 6;
atlasLimitWidth = 512;
atlasLimitHeight = 512;
}
当图量超标时就会出现破图;总算找到问题所在了;

该问题目前已经被锁定, 无法添加新回复

商务合作
商务合作