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. |
||
|---|---|---|
| .. | ||
| HybridCLRHooks | ||
| Plugins | ||
| CodePatcher.cs | ||
| CodePatcher.cs.meta | ||
| HookPool.cs | ||
| HookPool.cs.meta | ||
| HookUtils.cs | ||
| HookUtils.cs.meta | ||
| HookUtils_OSX.cs | ||
| HookUtils_OSX.cs.meta | ||
| HybridCLRHooks.meta | ||
| LDasm.cs | ||
| LDasm.cs.meta | ||
| MethodHook.cs | ||
| MethodHook.cs.meta | ||
| Plugins.meta | ||