From 2f7a8942685d8b51319787e86ff021adaabd40cb Mon Sep 17 00:00:00 2001 From: morkt Date: Wed, 25 Jul 2018 10:04:49 +0400 Subject: [PATCH] (Unity): check for 2017.* assets version. --- ArcFormats/Unity/ArcASSET.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArcFormats/Unity/ArcASSET.cs b/ArcFormats/Unity/ArcASSET.cs index 60998110..5fe2afe7 100644 --- a/ArcFormats/Unity/ArcASSET.cs +++ b/ArcFormats/Unity/ArcASSET.cs @@ -169,7 +169,7 @@ namespace GameRes.Formats.Unity tex.Load (input); if (0 == tex.m_DataLength) { - if (asset.Tree.Version == "2017.2.0f3") + if (asset.Tree.Version.StartsWith ("2017.")) // "2017.2.0f3" || "2017.1.1p1" input.ReadInt64(); var stream_data = new StreamingInfo(); stream_data.Load (input);