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
48 stars 6 forks source link

ArgumentException on running il2cpp deployed builds #16

Closed ghost closed 4 years ago

ghost commented 5 years ago

The Launcher does not function when deployed with the il2cpp scripting backend.

The output log shows an ArgumentException: Invalid path was thrown.

screenshot_1 1

MiTschMR commented 4 years ago

Hello

I have this issue too, will there be an update soon that fixes this?

Otherwise great asset, many thanks to you.

emanzione commented 4 years ago

Is this issue relative to the new 2.2.0 or are you talking about the old 2.1.7?

MiTschMR commented 4 years ago

I am using the new version 2.2.0. also with IL2CPP backend, not Mono. I have checked the paths multiple times, used different versions of the paths, but nothing is working.

Edit: It is working fine with Mono backend. Awesome asset!

emanzione commented 4 years ago

Can you share with me your logs from 2.2.0?

MiTschMR commented 4 years ago

These are the logs from the player.log:

ArgumentException: Invalid path
  at System.IO.Path.GetDirectoryName (System.String path) [0x00000] in <00000000000000000000000000000000>:0 
  at MHLab.Patch.Core.Settings..ctor () [0x00000] in <00000000000000000000000000000000>:0 
  at MHLab.Patch.Launcher.Scripts.Launcher.Awake () [0x00000] in <00000000000000000000000000000000>:0 
emanzione commented 4 years ago

Ok, I'll take a look at this under IL2CPP!

emanzione commented 4 years ago

I solved this issue! It will be included in the next 2.2.2 release.

MiTschMR commented 4 years ago

Perfect, thank you very much.