======= IOS BUILD ========
I use Unity5 + vuforia4
my setting is IL2CPP, opengl 2.0, universal in IOS playersetting
byte[] bytes = tex2d.EncodeToPNG(); --> my unity code
error log
libpng warning: Application built with libpng-1.6.10 but running with 1.5.12
Failed to encode to PNG
Just pure unity3d does not error occur but unity5 + vuforia4 error occur
what is my problem??
At the moment, Vuforia doesn't officially support Unity 5, so you may run into various errors and issues. We are in process of doing testing with it internally.
More details:
https://developer.vuforia.com/forum/vuforia-40/unity-5#comment-2048163
https://developer.vuforia.com/forum/vuforia-40/unity-5#comment-2048421