Fix packaging issues to properly read asset data after it's serialized with a new format

This commit is contained in:
Wojtek Figat
2025-01-22 21:24:49 +01:00
parent 326bc498b8
commit af416fe0c8
7 changed files with 181 additions and 91 deletions

View File

@@ -372,6 +372,7 @@ bool BinaryAsset::SaveToAsset(const StringView& path, AssetInitData& data, bool
const auto locks = storage->_chunksLock;
storage->_chunksLock = 0;
result = storage->Save(data, silentMode);
ASSERT(storage->_chunksLock == 0);
storage->_chunksLock = locks;
}
else