From 4f9466a6b7dd6a88ac9fca88bb2af2ad9e4dba9c Mon Sep 17 00:00:00 2001 From: yuegangyang Date: Thu, 26 Feb 2026 19:25:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E5=BD=93=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8F=B7=E6=95=B0=E5=AD=97=E5=A4=A7=E4=BA=8E1?= =?UTF-8?q?=E4=BD=8D=E6=97=B6=E6=AF=94=E8=BE=83=E9=94=99=E8=AF=AF=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Editor/Polymorphic/PolymorphicCodeGenerator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/Polymorphic/PolymorphicCodeGenerator.cs b/Editor/Polymorphic/PolymorphicCodeGenerator.cs index 6bb89af..58eb050 100644 --- a/Editor/Polymorphic/PolymorphicCodeGenerator.cs +++ b/Editor/Polymorphic/PolymorphicCodeGenerator.cs @@ -236,7 +236,7 @@ public class PolymorphicCodeGenerator public void Generate() { var installerController = new InstallerController(); - if (installerController.PackageVersion.CompareTo("8.4.0") < 0) + if (new Version(installerController.PackageVersion) < new Version(8, 4, 0)) { throw new Exception("Polymorphic code generation requires com.code-philosophy.hybridclr package version 8.4.0 or higher."); }