Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Commit 6b7bff3

Browse files
committed
修复key文件的序列化bug
1 parent 8ed1576 commit 6b7bff3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Assets/GameFramework/Editor/AssetBundleEditor/AssetBundleTool.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,8 @@ public static void BuildAssetBundles()
401401
File.WriteAllBytes(fileInfo.FullName, cipbs);
402402
//加密后md5的值应该刷新
403403
bs = cipbs;
404+
//保存keyAsset
405+
EditorUtility.SetDirty(keyAsset);
404406
}
405407
ResourcesInfo resourcesInfo = new ResourcesInfo();
406408
string fullPath = Path.GetFullPath(targetBuildPath);

0 commit comments

Comments
 (0)