mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-27 22:00:23 -04:00
Bugfix for unity 2022.2+ Texture2D reader
This commit is contained in:
parent
a00c857ac3
commit
67a74fd395
@ -109,6 +109,7 @@ namespace AssetStudio
|
|||||||
}
|
}
|
||||||
if (version[0] > 2022 || (version[0] == 2022 && version[1] >= 2)) //2022.2 and up
|
if (version[0] > 2022 || (version[0] == 2022 && version[1] >= 2)) //2022.2 and up
|
||||||
{
|
{
|
||||||
|
reader.AlignStream();
|
||||||
var m_MipmapLimitGroupName = reader.ReadAlignedString();
|
var m_MipmapLimitGroupName = reader.ReadAlignedString();
|
||||||
reader.AlignStream();
|
reader.AlignStream();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user