NativePluginBuilder icon indicating copy to clipboard operation
NativePluginBuilder copied to clipboard

[Linux] problem importing IUnityInterface.h

Open tolstenko opened this issue 6 years ago • 1 comments

Hey, awesome work you did here!

I made a quick fix in order to improve the way IUnityInterface.h is imported. I really couldn't find it inside Unity folders, so I just copied it here from https://github.com/Unity-Technologies/NativeRenderingPlugin/blob/master/PluginSource/source/Unity/IUnityInterface.h

Here is the result: https://github.com/InfiniBrains/NativePluginBuilder/commit/7a14fe3e74e5fa7a992fbf0dce21d9603be1ab51

Now I can build on Unity 2018.4.14f1 on Linux.

I will test this fix on other platforms and report as soon as I can.

tolstenko avatar Dec 20 '19 01:12 tolstenko

Thanks! Sorry for the late response! (Years. Yikes!)

Yeah. the reason I did not want to include the header it's because that header evolves over time with newer Unity versions. I was afraid to include one that was not compatible with the version being used. That's why it was safer to copy it from the installation itself, but unfortunately I couldn't find one with the Linux installation.

iBicha avatar Feb 18 '22 02:02 iBicha