-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
DynamicAtlas.cs 里 OnRenderTexture 函数里的
DynamicAtlasMgr.S.ReleaseGetTextureData(task); m_GetTextureTaskList.RemoveAt(i);
这两行代码是否应该放在 if (task.name.Equals(name)) 判断里面
if (task.name.Equals(name))
{
if (task.callback != null)
{
task.callback(null, new Rect(0, 0, 0, 0));
}
// 是否应该放在这里
DynamicAtlasMgr.S.ReleaseGetTextureData(task);
m_GetTextureTaskList.RemoveAt(i);
}
// 原本在这里
//DynamicAtlasMgr.S.ReleaseGetTextureData(task);
//m_GetTextureTaskList.RemoveAt(i);Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels