emanzione / PATCH

The PATCH repository for issues tracking, wiki and shared material.
https://assetstore.unity.com/packages/tools/utilities/p-a-t-c-h-ultimate-patching-system-41417
MIT License
45 stars 8 forks source link

While building with IL2CPP, .NET's Process.Start does not work anymore #71

Open emanzione opened 6 months ago

emanzione commented 6 months ago

IL2CPP does not translate the call to Process.Start used to start the game or the launcher itself, resulting in a no-op or into an exception.

Try to implement some custom code to call directly into native syscalls.

References:

manchinolik commented 6 months ago

I use this asset and all works pretty fine with IL2CPP, just replacing default System.Diagnostics.Process to KS.Diagnostics.Process

j-arr commented 1 week ago

//using System.Diagnostics; using KS.Diagnostics;

...in ApplicationStarter.cs and PrivilegesSetter.cs

since the author won't add it....