Skip to content

Commit 639279b

Browse files
committed
fix: verify_compile.cmd - exit-code doc, editor version warning, matrix note
- Exit code 1 documented as 'verification failed' (compile errors, startup failure, missing log, unclean exit) - Non-2020.3 editors get a clear warning (path-based 2020.3 check) instead of silently passing - this project validates the 2020.3 floor - PASS output notes tools/check-unity-versions.sh for the full matrix
1 parent 775f15b commit 639279b

2 files changed

Lines changed: 30 additions & 19 deletions

File tree

TestProjects/Unity2020Compat/compile_check.log

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
[LicensingClient] Error: Code 10 while verifying Licensing Client signature (process Id: 15080, path: "F:/UnityHub/Unity Hub/UnityLicensingClient_V1/Unity.Licensing.Client.exe")
22
[Licensing::Module] Error: LicensingClient has failed validation
3-
[Licensing::Module] Successfully connected to LicensingClient on channel: "LicenseClient-h-2020.3.24" (connect: 0.00s, validation: 0.01s, handshake: 0.66s)
3+
[Licensing::Module] Successfully connected to LicensingClient on channel: "LicenseClient-h-2020.3.24" (connect: 0.00s, validation: 0.01s, handshake: 0.87s)
44
Entitlement-based licensing initiated
55
[LicensingClient] Licenses updated successfully
66

7-
LICENSE SYSTEM [2026812 11:51:12] Next license update check is after 2026-08-13T01:54:03
7+
LICENSE SYSTEM [2026812 14:1:6] Next license update check is after 2026-08-13T01:54:03
88

99

10-
LICENSE SYSTEM [2026812 11:51:12] Current license is already valid and activated. Skipping license activation process (Provided username/password will be ignored).
10+
LICENSE SYSTEM [2026812 14:1:6] Current license is already valid and activated. Skipping license activation process (Provided username/password will be ignored).
1111
Built from '2020.3/china_unity/release' branch; Version is '2020.3.24f1c2 (f3616f7ef48a) revision 15950191'; Using compiler version '192528614'; Build Type 'Release'
1212
OS: 'Windows 10 (10.0.19045) 64bit Professional' Language: 'zh' Physical Memory: 16318 MB
1313
[Licensing::Module] Serial number assigned to: "F4-JDDH-7CET-YVV5-4EPM-XXXX"
1414
BatchMode: 1, IsHumanControllingUs: 0, StartBugReporterOnCrash: 0, Is64bit: 1, IsPro: 0
15-
[Package Manager] Server::Start -- Port 4681 was selected
15+
[Package Manager] Server::Start -- Port 7719 was selected
1616

1717
COMMAND LINE ARGUMENTS:
1818
C:\SoftWare\Unity\2020.3.24f1\Editor\Unity.exe
1919
-batchmode
2020
-nographics
2121
-quit
2222
-projectPath
23-
F:\AIProjects\Unity-shikiMCP\TestProjects\Unity2020Compat
23+
F:\AIProjects\Unity-shikiMCP\TestProjects\Unity2020Compat\
2424
-logFile
2525
F:\AIProjects\Unity-shikiMCP\TestProjects\Unity2020Compat\compile_check.log
26-
Successfully changed project path to: F:\AIProjects\Unity-shikiMCP\TestProjects\Unity2020Compat
26+
Successfully changed project path to: F:\AIProjects\Unity-shikiMCP\TestProjects\Unity2020Compat\
2727
F:/AIProjects/Unity-shikiMCP/TestProjects/Unity2020Compat
2828
It looks like another Unity instance is running with this project open.
2929

@@ -63,43 +63,43 @@ C:\Windows\System32\WS2_32.dll:WS2_32.dll (00007FFBAEC30000), size: 438272 (resu
6363
C:\Windows\SYSTEM32\dhcpcsvc.dll:dhcpcsvc.dll (00007FFBA6D70000), size: 118784 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.3636
6464
C:\Windows\System32\WINTRUST.dll:WINTRUST.dll (00007FFBACAB0000), size: 471040 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.6456
6565
C:\Windows\SYSTEM32\dhcpcsvc6.dll:dhcpcsvc6.dll (00007FFBA6AD0000), size: 94208 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.3636
66-
C:\Windows\SYSTEM32\wsock32.dll:wsock32.dll (00007FFBA8320000), size: 36864 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.1
6766
C:\Windows\System32\OLEAUT32.dll:OLEAUT32.dll (00007FFBAD270000), size: 839680 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.3636
6867
C:\Windows\System32\combase.dll:combase.dll (00007FFBAD350000), size: 3489792 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.6456
68+
C:\Windows\SYSTEM32\wsock32.dll:wsock32.dll (00007FFBA8320000), size: 36864 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.1
6969
C:\SoftWare\Unity\2020.3.24f1\Editor\libfbxsdk.dll:libfbxsdk.dll (00007FFA94830000), size: 10215424 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2020.2.0.0
70-
C:\SoftWare\Unity\2020.3.24f1\Editor\optix.6.0.0.dll:optix.6.0.0.dll (00007FFB921B0000), size: 208896 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 6.0.0.0
71-
C:\SoftWare\Unity\2020.3.24f1\Editor\OpenImageDenoise.dll:OpenImageDenoise.dll (00007FFA91E60000), size: 43806720 (result: 0), SymType: '-deferred-', PDB: ''
7270
C:\Windows\System32\IMM32.dll:IMM32.dll (00007FFBAD7F0000), size: 192512 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.6157
7371
C:\Windows\System32\ole32.dll:ole32.dll (00007FFBAD6B0000), size: 1224704 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.5915
7472
C:\Windows\System32\SHLWAPI.dll:SHLWAPI.dll (00007FFBAD210000), size: 372736 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.6392
73+
C:\SoftWare\Unity\2020.3.24f1\Editor\optix.6.0.0.dll:optix.6.0.0.dll (00007FFB921B0000), size: 208896 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 6.0.0.0
7574
C:\Windows\System32\CRYPT32.dll:CRYPT32.dll (00007FFBACC80000), size: 1429504 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.6157
75+
C:\SoftWare\Unity\2020.3.24f1\Editor\OpenImageDenoise.dll:OpenImageDenoise.dll (00007FFA91E60000), size: 43806720 (result: 0), SymType: '-deferred-', PDB: ''
7676
C:\SoftWare\Unity\2020.3.24f1\Editor\umbraoptimizer64.dll:umbraoptimizer64.dll (00007FFB82100000), size: 1306624 (result: 0), SymType: '-deferred-', PDB: ''
77+
C:\Windows\System32\WLDAP32.dll:WLDAP32.dll (00007FFBAE990000), size: 385024 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.6157
7778
C:\SoftWare\Unity\2020.3.24f1\Editor\FreeImage.dll:FreeImage.dll (0000000180000000), size: 6582272 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 3.18.0.0
79+
C:\Windows\System32\Normaliz.dll:Normaliz.dll (00007FFBAE360000), size: 32768 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.3636
7880
C:\SoftWare\Unity\2020.3.24f1\Editor\ispc_texcomp.dll:ispc_texcomp.dll (00007FFB7F520000), size: 1609728 (result: 0), SymType: '-deferred-', PDB: ''
79-
C:\Windows\System32\WLDAP32.dll:WLDAP32.dll (00007FFBAE990000), size: 385024 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.6157
8081
C:\SoftWare\Unity\2020.3.24f1\Editor\WinPixEventRuntime.dll:WinPixEventRuntime.dll (00007FFBA8310000), size: 45056 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 1.0.1812.6001
81-
C:\Windows\System32\Normaliz.dll:Normaliz.dll (00007FFBAE360000), size: 32768 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.3636
8282
C:\SoftWare\Unity\2020.3.24f1\Editor\RadeonImageFilters.dll:RadeonImageFilters.dll (00007FFB70D80000), size: 2535424 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 1.5.1.0
8383
C:\SoftWare\Unity\2020.3.24f1\Editor\SketchUpAPI.dll:SketchUpAPI.dll (00007FFB3D560000), size: 8978432 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 19.0.753.0
84-
C:\Windows\SYSTEM32\WINMM.dll:WINMM.dll (00007FFBA14C0000), size: 159744 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.3636
8584
C:\Windows\SYSTEM32\VERSION.dll:VERSION.dll (00007FFBA4920000), size: 40960 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.3636
85+
C:\Windows\SYSTEM32\WINMM.dll:WINMM.dll (00007FFBA14C0000), size: 159744 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.3636
8686
C:\Windows\SYSTEM32\WINHTTP.dll:WINHTTP.dll (00007FFBA77C0000), size: 1089536 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.5794
87-
C:\Windows\SYSTEM32\OPENGL32.dll:OPENGL32.dll (00007FFB87760000), size: 1212416 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.5794
8887
C:\Windows\SYSTEM32\GLU32.dll:GLU32.dll (00007FFB87730000), size: 180224 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.3636
89-
C:\SoftWare\Unity\2020.3.24f1\Editor\tbb.dll:tbb.dll (00007FFB92140000), size: 413696 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2017.0.2016.1004
88+
C:\Windows\SYSTEM32\OPENGL32.dll:OPENGL32.dll (00007FFB87760000), size: 1212416 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.5794
9089
C:\Windows\SYSTEM32\VCRUNTIME140.dll:VCRUNTIME140.dll (00007FFB92920000), size: 122880 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 14.44.35211.0
90+
C:\SoftWare\Unity\2020.3.24f1\Editor\tbb.dll:tbb.dll (00007FFB92140000), size: 413696 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2017.0.2016.1004
9191
C:\Windows\SYSTEM32\MSVCP140.dll:MSVCP140.dll (00007FFB8F0B0000), size: 561152 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 14.44.35211.0
9292
C:\SoftWare\Unity\2020.3.24f1\Editor\SketchUpCommonPreferences.dll:SketchUpCommonPreferences.dll (00007FFB91FC0000), size: 483328 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 19.0.753.20342
9393
C:\Windows\SYSTEM32\Secur32.dll:Secur32.dll (00007FFB987F0000), size: 49152 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.3636
94+
C:\Windows\SYSTEM32\VCRUNTIME140_1.dll:VCRUNTIME140_1.dll (00007FFB929A0000), size: 49152 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 14.44.35211.0
9495
C:\Windows\SYSTEM32\MSVCP120.dll:MSVCP120.dll (00007FFB82B30000), size: 679936 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 12.0.21005.1
9596
C:\Windows\SYSTEM32\MSVCR120.dll:MSVCR120.dll (00007FFB721F0000), size: 978944 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 12.0.21005.1
96-
C:\Windows\SYSTEM32\VCRUNTIME140_1.dll:VCRUNTIME140_1.dll (00007FFB929A0000), size: 49152 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 14.44.35211.0
9797
C:\Windows\SYSTEM32\SSPICLI.DLL:SSPICLI.DLL (00007FFBAC730000), size: 204800 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.6328
98-
C:\SoftWare\Unity\2020.3.24f1\Editor\OpenRL.dll:OpenRL.dll (000001EC0E220000), size: 12779520 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 1.5.0.2907
99-
C:\Windows\SYSTEM32\MSVCP100.dll:MSVCP100.dll (0000000058F90000), size: 622592 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.40219.1
98+
C:\SoftWare\Unity\2020.3.24f1\Editor\OpenRL.dll:OpenRL.dll (0000011E424B0000), size: 12779520 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 1.5.0.2907
10099
C:\SoftWare\Unity\2020.3.24f1\Editor\embree.dll:embree.dll (00007FFA90E70000), size: 16711680 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2.14.0.0
101100
C:\Windows\SYSTEM32\MSVCR100.dll:MSVCR100.dll (0000000058EB0000), size: 860160 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.40219.1
102-
C:\SoftWare\Unity\2020.3.24f1\Editor\OpenRL_pthread.dll:OpenRL_pthread.dll (000001EC0EE70000), size: 61440 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2.9.0.0
101+
C:\Windows\SYSTEM32\MSVCP100.dll:MSVCP100.dll (0000000058F90000), size: 622592 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.40219.1
102+
C:\SoftWare\Unity\2020.3.24f1\Editor\OpenRL_pthread.dll:OpenRL_pthread.dll (0000011E430F0000), size: 61440 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2.9.0.0
103103
C:\Windows\SYSTEM32\MSASN1.dll:MSASN1.dll (00007FFBAC440000), size: 73728 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.3636
104104
C:\Windows\SYSTEM32\CRYPTSP.dll:CRYPTSP.dll (00007FFBAC210000), size: 98304 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.5856
105105
C:\Windows\system32\rsaenh.dll:rsaenh.dll (00007FFBAB800000), size: 229376 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.6093

TestProjects/Unity2020Compat/verify_compile.cmd

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ rem Usage:
66
rem verify_compile.cmd (uses UNITY_EDITOR env var or auto-detect)
77
rem verify_compile.cmd <path\to\Unity.exe>
88
rem
9-
rem Exit codes: 0 = compile OK, 1 = compile errors found, 2 = Unity not found
9+
rem Exit codes: 0 = verification passed, 1 = verification failed
10+
rem (compile errors, Unity startup failure, missing log, unclean exit),
11+
rem 2 = Unity executable not found
1012
rem ============================================================
1113
setlocal
1214

@@ -38,6 +40,13 @@ if not exist "%UNITY_EXE%" (
3840
exit /b 2
3941
)
4042

43+
echo %UNITY_EXE% | findstr /c:"2020.3" >nul
44+
if errorlevel 1 (
45+
echo [verify] WARNING: %UNITY_EXE% is not a Unity 2020.3 editor.
46+
echo [verify] This project validates the 2020.3 compatibility floor; a newer
47+
echo [verify] editor only confirms forward-compatibility, not 2020.3 support.
48+
)
49+
4150
echo [verify] Unity: %UNITY_EXE%
4251
echo [verify] Project: %PROJECT_DIR%
4352
del /q "%LOG_FILE%" 2>nul
@@ -68,4 +77,6 @@ if errorlevel 1 (
6877
)
6978

7079
echo [verify] PASS: 0 compiler errors, clean batchmode exit.
80+
echo [verify] NOTE: for the full supported-version matrix, also run
81+
echo [verify] tools/check-unity-versions.sh (see repo CI).
7182
exit /b 0

0 commit comments

Comments
 (0)