| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
* Print managed UnhandledException instead of silently crashing.
| #undef LOAD_METHOD | ||
| } | ||
|
|
||
| #define LOG(message) \ |
There was a problem hiding this comment.
I have no real idea how c works.
So if anybody knows how to create a proper log-method, I am open for suggestions.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
I had the problem that the game silently crashed if I invoked it with Doorstop.
These changes here may help the next poor soul with stripped System.IO.File.WriteAllText(string,string) from mscorlib.
The console output of run.sh looked like this:
Problem 1: Seems like unity hijacks stdout
Solution 1: Create a log file
Problem 2: r_mono_runtime_invoke crashes without any message
Solution 2: log any exception returned by r_mono_runtime_invoke
Now my run.sh output looks like this:
And a doorstep.log is created which looks like this: