[solved] Unable to use callbacks in unity?

I believe the fix for that will be the same as posted here:

It is due to the GCHandle being freed before the callback is actually finished with it.