Skip to content

Commit

Permalink
More fixes for unity 2019.4 assets
Browse files Browse the repository at this point in the history
  • Loading branch information
aelurum committed Mar 31, 2024
1 parent 29b4bb5 commit 4e991d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AssetStudio/BundleFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ private void ReadBlocksInfoAndDirectory(FileReader reader, UnityVersion unityVer
{
reader.AlignStream(16);
}
else if (unityVer >= (2019, 4))
else if (unityVer >= (2019, 4) && m_Header.flags != ArchiveFlags.BlocksAndDirectoryInfoCombined)
{
//check if we need to align the reader
//- align to 16 bytes and check if all are 0
Expand Down

0 comments on commit 4e991d8

Please sign in to comment.