realgamessoftware / dear-imgui-unity

Unity package for Dear ImGui
MIT License
462 stars 112 forks source link

Support for IOS Build #4

Open ernesernesto opened 4 years ago

ernesernesto commented 4 years ago

Hi, does this unity package work for mobile build especially ios? or if dear-imgui itself work on ios build. I've seen swift wrapper on dear-imgui so it should've work on device

Here are some test that I did Mac OS standalone on Editor Play: Works but only shows on Procedural renderer, Mesh renderer same issue as here

Mac OS standalone on Build: Imgui window not shown, error output
Plugins: Couldn't open libc, error: dlopen(libc, 2): image not found, maybe related to this

IOS on Editor Play: same as mac os standalone editor play

IOS on Build: Imgui window not shown, no error

I'm using unity version 2019.3.5.f1

Just wondering since it does seem to work only on editor play, not on build

Thanks!

eleval commented 4 years ago

Hello,

I have also been unable to get this imgui wrapper to build on iOS.

I get the following error when trying to build for iOS (using Cloud build): Library not loaded: /usr/local/UNITY_PATH/libpng/lib/libpng16.16.dylib This happens when it tries to open cimgui-freetype.dylib

I'm using Unity 2019.3.4f1.

Would be really great for it to work on iOS. Let me know if you need any additional information.

Thanks !