Release v3.6.0
[3.6.0] - 2026-02-12
English
-
CoreFrame
-
Optimization
- Significantly optimized loading by refining the logic for checking the
sceneNameprefix ("build#"). UtilizedAsSpanto improve efficiency and reduce GC (achieving almost 0 GC).
- Significantly optimized loading by refining the logic for checking the
-
-
AssetLoader
-
Optimization
- Significantly optimized loading by refining the logic for checking the
assetNameprefix ("res#"). UtilizedAsSpanto improve efficiency and reduce GC (achieving almost 0 GC).
- Significantly optimized loading by refining the logic for checking the
-
Fixes
- Fixed
GroupCache(GroupBundle & GroupResources) methods by removing theforceUnloadparameter. SinceGroupCacheuses weak references, this prevents accidental triggering offorceUnload, which could lead to reference errors, making the system safer.
- Fixed
-
Adjustments
- Adjusted
AssetLoadersUnload-related interfaces. SinceGroupCacheuses weak references, the naming convention now prioritizes the "Unload" prefix.ReleaseBundleRawFiles(int groupId)-> UnloadRawFiles(int groupId)ReleaseResourceAssets(int groupId)&ReleaseBundleAssets(int groupId)-> UnloadAssets(int groupId)
- Adjusted
AssetLoadersRelease-related interfaces. Unified the Release interface; it no longer distinguishes betweenReleaseBundleandReleaseResources(now determined byLoadType) without affecting efficiency.ReleaseBundleScenes-> ReleaseScenesReleaseBundleRawFiles-> ReleaseRawFilesReleaseResourceAssets&ReleaseBundleAssets-> ReleaseAssets
- Adjusted
-
Third-Party Library Changes
- Removed the built-in
YooAssetlibrary; switched toPackageManagerfor installation and management (if modification of YooAsset source code is required, local installation via PackageManager is still supported).- Currently compatible with v2.3.18
https://github.com/tuyoogame/YooAsset.git?path=Assets/YooAsset
- Currently compatible with v2.3.18
- Removed the built-in
-
中文
-
CoreFrame
-
優化
- 大幅度優化加載時,需要 Refine 判斷 sceneName 前墜的方式 ("build#"),使用 AsSpan 提高效率與降低 GC (幾乎 0 GC)。
-
-
AssetLoader
-
優化
- 大幅度優化加載時,需要 Refine 判斷 assetName 前墜的方式 ("res#"),使用 AsSpan 提高效率與降低 GC (幾乎 0 GC)。
-
修正
- 修正 GroupCache (GroupBundle & GroupResources) 方法,移除方法中的 forceUnload 參數,主要是 GroupCache 為軟引用,避免誤觸 forceUnload 導致引用錯亂,更安全。
-
調整
- 調整 AssetLoaders Unload 相關接口,GroupCache 為軟引用,所以以 Unload 開頭為主。
ReleaseBundleRawFiles(int groupId)-> UnloadRawFiles(int groupId)ReleaseResourceAssets(int groupId)&ReleaseBundleAssets(int groupId)-> UnloadAssets(int groupId)
- 調整 AssetLoaders Release 相關接口,統一 Release 接口,不在區分 ReleaseBundle 跟 ReleaseResources 了 (由 LoadType 決定),不影響效率。
ReleaseBundleScenes-> ReleaseScenesReleaseBundleRawFiles-> ReleaseRawFilesReleaseResourceAssets&ReleaseBundleAssets-> ReleaseAssets
- 調整 AssetLoaders Unload 相關接口,GroupCache 為軟引用,所以以 Unload 開頭為主。
-
第三方庫改動
- 移除 YooAsset 內置庫,改為 PackageManager 進行管理安裝 (如有需要改 YooAsset 的源碼,一樣可以透過 PackageManager 進行本地安裝)。
- 目前兼容 v2.3.18 版本
https://github.com/tuyoogame/YooAsset.git?path=Assets/YooAsset
- 目前兼容 v2.3.18 版本
- 移除 YooAsset 內置庫,改為 PackageManager 進行管理安裝 (如有需要改 YooAsset 的源碼,一樣可以透過 PackageManager 進行本地安裝)。
-