Topic locked

Unity5 + vuforia4 Failed to encode to PNG

March 16, 2015 - 9:46pm #4

======= 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??

 

 

 

 

 

Unity5 + vuforia4 Failed to encode to PNG

March 19, 2015 - 4:31pm #3

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

 

Unity5 + vuforia4 Failed to encode to PNG

April 17, 2015 - 12:44am #2

Vuforia 4.0.105 with Unity 5.0 support has now been announced here:

https://developer.vuforia.com/forum/news-and-announcements/announcing-unity-50-64-bit-support-mac-os-x

 

Unity5 + vuforia4 Failed to encode to PNG

May 12, 2015 - 11:39pm #1

A note about the issue reported (libpng issue):

it appears that this is caused by a conflict between the OpenCV framework and Unity5, and is not directly related to Vuforia.

Rebuilding OpenCV without libPNG fixes the issue. 

Topic locked