Fix parsing of Tuanjie Renderer assets

This commit is contained in:
VaDiM
2025-07-22 14:55:05 +03:00
parent 3c6b65f724
commit 9c64f7f56d

View File

@ -57,7 +57,7 @@
{
var m_virtualGeometry = reader.ReadByte();
var m_virtualGeometryShadow = reader.ReadByte();
if (version >= (2022, 3, 48)) //2022.3.48t3(1.4.0) and up
if (version > (2022, 3, 48) || (version == (2022, 3, 48) && version.Build >= 3)) //2022.3.48t3(1.4.0) and up
{
reader.AlignStream();
var m_ShadingRate = reader.ReadByte();