diff --git a/Assets/PerfectWorld/Scripts/Task/ATaskTemplMan.cs b/Assets/PerfectWorld/Scripts/Task/ATaskTemplMan.cs index fe85d3c77c..e97e84be44 100644 --- a/Assets/PerfectWorld/Scripts/Task/ATaskTemplMan.cs +++ b/Assets/PerfectWorld/Scripts/Task/ATaskTemplMan.cs @@ -357,9 +357,9 @@ namespace BrewMonster.Scripts.Task // #endif // // return true; - var handle = await AddressableManager.Instance.LoadTextAssetAsync(address); + var textAsset = await AddressableManager.Instance.LoadTextAssetAsync(address); - byte[] data = handle.bytes; + byte[] data = textAsset.bytes; byte[] buf; try @@ -451,9 +451,9 @@ namespace BrewMonster.Scripts.Task // // LOG_DELETE_ARR(buf); // store path on main thread m_szDynPackPath = szPath; - var handle = await AddressableManager.Instance.LoadTextAssetAsync(szPath); + var textAsset = await AddressableManager.Instance.LoadTextAssetAsync(szPath); - byte[] data = handle.bytes; + byte[] data = textAsset.bytes; byte[] headerBuf;