Fixed #165
This commit is contained in:
@@ -469,8 +469,10 @@ namespace UnityStudio
|
||||
bool m_KeepIndices = reader.ReadBoolean();
|
||||
}
|
||||
reader.AlignStream(4);
|
||||
//This is a Unity bug fixed in 2017.3.1p1 and later versions
|
||||
if ((version[0] > 2017 || (version[0] == 2017 && version[1] >= 4)) || //2017.4
|
||||
((version[0] == 2017 && version[1] == 3) && m_MeshCompression == 0))//2017.3
|
||||
((version[0] == 2017 && version[1] == 3 && version[2] == 1) && MeshPD.sourceFile.buildType[0] == "p") || //fixed after 2017.3.1px
|
||||
((version[0] == 2017 && version[1] == 3) && m_MeshCompression == 0))//2017.3.xfx with no compression
|
||||
{
|
||||
var m_IndexFormat = reader.ReadInt32();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user