(Unity): adjusted deserialization for '2021.1.3f1' assets.

This commit is contained in:
morkt
2022-05-03 13:40:43 +04:00
parent 911efef9b9
commit 30f3eebde9
6 changed files with 79 additions and 14 deletions

View File

@@ -61,7 +61,7 @@ namespace GameRes.Formats.Unity
case 28: // Texture2D
{
var tex = new Texture2D();
tex.Load (input, asset.Tree.Version);
tex.Load (input, asset.Tree);
if (0 == tex.m_DataLength)
{
var stream_data = new StreamingInfo();