Closed ip closed 5 years ago
Hi @ip, thanks for reporting these issues!
Issue 1
I just pushed commit 7b3d95ec3ca559a543262b2dcc36daf4808c113f to fix this. It was caused by Unity changing the namespace of that class to move it out of Experimental
.
Issue 2
I don't get that compiler error. I also don't see IDeserializationCallback
. Is this something you added in your NativeScriptTypes.json
?
Issue 3 I don't get this exception when I reload the plugin on macOS. I wonder what could explain why you do. Any ideas?
Good luck with your Haskell bindings! -Jackson
Thank you, will check it out
Seems the projects needs minor update for Unity 2019.1.8.
I followed the "Getting started" section in README. There are 3 issues I noticed.
Issue 1
After I commented it out and shifted the array indices accordingly I was able to generate the bindings.
GenerateBindings.cs
didn't compile because of this line (commented out):Issue 2![image](https://user-images.githubusercontent.com/1111008/60297211-c2fba200-9938-11e9-838b-fdca391934c3.png)
When I commented this out, everything started to work.
Issue 3 (not blocking) One more strange thing is that pressing "Reload native plugin" button in the editor throws an exception, but it's not actually needed (at least on mac) as the game always use the recent version of the plugin. The exception:
Sorry if I'm missing something, I didn't read the docs too thoroughly, just wanted to get the thing working. I actually want to make Haskell bindings to Unity 😄