scottyboy805 / dotnow-interpreter

A pure C# CIL interpreter designed to load and execute managed code on IL2CPP (Unity) platforms.
MIT License
139 stars 16 forks source link

Try/catch in runtime script methods #22

Closed will-aristocrat closed 1 year ago

will-aristocrat commented 1 year ago

When using a try/catch block inside a runtime script it will not pass through into the catch due to the CLRExceptionHandler injecting its own try/catch at the first/last lines of a method.

scottyboy805 commented 1 year ago

Fixed in 5d0c9a4