0 votes
by
retagged by
Hi Eddy,

Thank you for the excellent module. We are advancing nicely with our prototype and I am very happy with VPP, but I have a couple of questions.

I recently made a build with IL2CPP, which should result in a higher performance code. Unfortunately, although the build works, the built version crashes on VPP dll-s as I assume they are not compatible. Could you please advise on this?
by
Which OS are you building for, and which Unity version are you using?

I've just tested an IL2CPP build from Unity 2018 LTS and it works correctly on Windows. Dlls are used to read DirectInput devices, and they also work correctly in the IL2CPP build (tested a Logitech G27).
by
We are actually trying to be on the newest version of Unity, especially being early in the development. So when I reported the issue it must have been one of the 2020 versions.

Now I tried to make a build, and actually it worked, so I won't be able to trace back what was the original issue back in January. We are now on Win 10 Unity 2021.1.2f1 and can build with IL2CPP and the build runs well.
by
Cool, then it must have been a bug in some Unity version. I'll add a reply so we could mark this as resolved.

1 Answer

0 votes
by
Most probably it's a bug in that specific Unity version. I've tested Win10 Unity 2018 LTS and it works fine. Try either using an Unity LTS version, or a more recent version.
...