walon
6ecc0a9728
refactor: InstallerController find max-lower version as best match version
2026-09-03 18:01:41 +08:00
walon
a93ca3dc27
fix: fix InstallerController install branch 6000.3.x on 6000.5.x incorrectly
2026-08-19 22:02:31 +08:00
walon
6e635f78bf
feat: installer support 6000.5.x
2026-08-18 12:19:53 +08:00
walon
f0be76c0ce
fix: correct conditional compilation macro for Windows standalone targeting
...
Fixes an issue where 'UNITY_STANDALONE_WIN' is incorrectly defined when
building or targeting Windows standalone from a non-Windows Unity Editor
(e.g., macOS/Linux). This caused the Editor to incorrectly hit the Windows
code path (kernel32.dll / VirtualProtect) instead of the POSIX one, leading
to compilation errors or runtime crashes during the build process.
2026-05-18 22:29:44 +08:00
walon
6a320c556f
[new] support BuildTarget GameCoreXboxOne and GameCoreXboxSeries.
2026-02-24 10:03:55 +08:00
walon
213d44bd12
[fix] fix deprecated warning of `PlayerSettings.GetScriptingBackend(BuildTargetGroup)` in Unity 6000
2025-12-14 13:18:57 +08:00
walon
c138a58c4d
[new] support 6000.3.x
2025-12-14 13:18:46 +08:00
walon
478caea644
[change] remove unused import
2025-11-03 09:59:52 +08:00
walon
2534dea381
[remove] remove unused ABIUtils.cs
2025-10-28 10:26:34 +08:00
walon
391cd04cdf
[fix] fix raising NullReferenceException in generating MethodBridge for MonoPInvokeCallbackAttribute while constructor arguments is empty.
2025-10-14 17:15:32 +08:00
walon
1934d90f27
[remove] remove unused ReversePInvokeWrap.meta
2025-09-03 09:35:55 +08:00
walon
814572e1a1
[fix] fix the bug that BashUtil.CopyDir calls UnityEditor.FileUtil.CopyFileOrDirectory failed when parent directory of dst does not exist.
2025-08-26 21:17:03 +08:00
walon
e36bbb9022
[fix] fixed PInvokeAnalyzer bug in computing PInvoke function calling conventions.
2025-08-25 19:23:29 +08:00
walon
d86572db37
[change] change domain hybridclr.doc.code-philosophy.com to www.hybridclr.cn
2025-08-20 12:44:19 +08:00
xiewen
b5944ea834
[change] BashUtil::CopyDir replaces CopyWithCheckLongFile with CopyUnityEditor.FileUtil.CopyFileOrDirectory
2025-08-20 12:44:17 +08:00
walon
7f158f814a
[fix] fix the issue that `Texture Compression` option in Build Settings was changed after running `HybridCLR/Generate/All` on Android platform
2025-07-04 17:17:44 +08:00
walon
ab41cd0144
[fix] fix the bug that not collect struct in calli and extern method signature in generating MethodBridge.
2025-06-30 12:12:02 +08:00
walon
c9ff293dfe
[change] changed from throw exception to logError when not supported pinvoke or reverse pinvoke method parameter type was found
2025-06-06 16:57:53 +08:00
walon
8e27e8d41b
[change] remove warning log when the result of resolving method is null in GenericMethod::ResolveMethod.
2025-05-29 17:04:10 +08:00
walon
c21dbcc60a
[change] Remove redundant `buildOptions |= BuildOptions.CleanBuildCache;` code since it's already added in the GetBuildPlayerOptions function.
2025-05-29 14:22:50 +08:00
walon
7f2fa52f37
[change] change visibility of LinkXmlWriter to public.
2025-05-22 19:55:36 +08:00
walon
da46e71534
[fix] fix bug of GenericArgumentContext that inflate ByRef and SZArray to Ptr.
2025-05-22 19:53:49 +08:00
walon
b301b44cd3
[refactor] move ReversePInvokeWrap/Analyzer.cs to MethodBridge/MonoPInvokeCallbackAnalyzer.cs
...
[change] validate unsupported parameter type(.e.g string) in MonoPInvokeCallback signature when generate MethodBridge file
2025-04-30 16:20:03 +08:00
walon
ddc3332958
[change] validate unsupported parameter type(.e.g string) in PInvoke signature when generate MethodBridge file
2025-04-30 16:11:41 +08:00
walon
52f25bdb2a
[change] AssemblyResolver also resolves `*.dll.bytes` files besides `*.dll`.
2025-04-30 15:33:46 +08:00
walon
31be818bb6
[fix] fix error of computing CallingConvention in MethodBridge/Generator::BuildCalliMethods
2025-04-30 15:30:03 +08:00
walon
213a11ff25
[new] generate Managed2NativeFunction for PInvoke method
2025-04-30 15:05:40 +08:00
walon
585be97be9
[change] change type of the first argument `methodPointer` of Managed2NativeFunctionPointer from `const void*` to `Il2CppMethodPointer`
2025-04-30 12:40:21 +08:00
walon
361873803f
[refactor] refactor code of settings.
2025-04-28 10:20:08 +08:00
walon
46f308ed5e
[opt] optimization unnecessary initialization of typeArgsStack and methodArgsStack of GenericArgumentContext
2025-04-25 22:02:54 +08:00
walon
34406b1c13
[change] the shared type of ElementType.FnPtr is changed from IntPtr to UIntPtr
2025-04-25 21:59:15 +08:00
walon
e44fa663db
[fix] fix bug of `CompileDll(BuildTarget target)` that use EditorUserBuildSettings.activeBuildTarget instead of target to call CompileDll
2025-04-12 14:21:35 +08:00
L0veTomori
3fe41a8cba
[opt] strip AOT assembly resources. ( #54 )
2025-04-03 10:48:40 +08:00
walon
8d1280a1bd
[fix] fixed the bug where BashUtil.RemoveDir failed to run under certain circumstances on macOS systems.
2025-03-14 08:59:11 +08:00
walon
4768c039d2
[fix] fixed hook failed in version below MacOS 11
2025-03-07 13:29:47 +08:00
walon
10dc749d7a
[change] CompileDllActiveBuildTarget and GenerateAll use EditorUserBuildSettings.development to compile hot update dll.
2025-03-05 16:14:08 +08:00
walon
0c5ef00c12
[remove] remove option HybridCLRSettings.enableStraceTraceInWebGLReleaseBuild
2025-03-05 15:59:37 +08:00
walon
1553582ec1
[remove] remove option HybridCLRSettings.enableProfilerInReleaseBuild
2025-03-05 15:58:11 +08:00
walon
355e24fbe8
[fix] fixed the bug in the MethodBridge generator where it incorrectly handle [StructLayout] and blittable types when generating code for struct classes.
2025-03-01 10:39:05 +08:00
walon
9e4946aa45
[new] add AssemblySorter to sort assemblies by reference order
2025-02-08 16:53:11 +08:00
walon
b8dd2be1e4
[revert] Revert "[new] support preserve UnityEngine core types when GenerateLinkXml"
...
This reverts commit 82163d2e50 .
2025-02-05 10:35:49 +08:00
walon
a11ebecf93
[fix] fixe the bug that preserving UnityEngine.PerformanceReportingModule when generating link.xml would cause the Android app built with Unity 2019 to crash on startup.
2025-01-18 22:55:37 +08:00
walon
84bf6d59db
[change] removed unnecessary field initialization in the HybridCLRSettings class.
2025-01-08 16:28:12 +08:00
walon
82163d2e50
[new] support preserve UnityEngine core types when GenerateLinkXml
2025-01-08 16:20:39 +08:00
walon
208372e6af
[new] add MethodBridge.cpp.tpl. MethodBridgeGeneratorCommand doesn't generate and override from same file
2025-01-08 15:26:48 +08:00
walon
dd8d812641
[change] add UnityVersion.h.tpl and AssemblyManifest.cpp.tpl, Il2CppDefGenerator doesn't generates and override code file from same one
2025-01-08 15:21:43 +08:00
walon
c19b34542e
[fix] fixed the bug where StripAOTDllCommand did not set BuildPlayerOptions.subtarget in Unity 2021+ versions, causing failure when publishing dedicated buildTarget.
2025-01-08 15:00:54 +08:00
walon
e30306d7e1
[fix] fixed the bug in AOTAssemblyMetadataStripper::Strip where ModuleWriterOptions MetadataFlags.PreserveRids was not used.
2025-01-07 16:19:11 +08:00
walon
20f34c9b14
[fix] fix bug of computing CallingConvention of calli
2025-01-03 12:23:04 +08:00
walon
45749ffb5c
[new] add Managed2NativeFunctionPointer MethodBridge functions
2025-01-02 22:22:59 +08:00