hevinci 2024-04-12 11:50:40 +08:00
parent bb1c64e444
commit 9d5a90e8fa
2 changed files with 2 additions and 0 deletions

View File

@ -133,6 +133,7 @@ namespace YooAsset
/// </summary>
public void SaveSandboxPackageVersionFile(string version)
{
YooLogger.Log($"Save package version : {version}");
string filePath = GetSandboxPackageVersionFilePath();
FileUtility.WriteAllText(filePath, version);
}

View File

@ -342,6 +342,7 @@ namespace YooAsset
{
PackageVersion = _loadBuildinManifestOp.Manifest.PackageVersion;
_impl.ActiveManifest = _loadBuildinManifestOp.Manifest;
_impl.FlushManifestVersionFile();
_steps = ESteps.PackageCaching;
}
else