EDIT: Issue does not relate to unity 5.4. It was a 32-bit/64-bit issue while using multiple android plugins with native code.
Original question:
I have an application built using Unity 5.3.6. It was running well on a Samsung s6 edge. However, after upgrading to unity 5.4 I get the dreaded “Failure to initialize! Your hardware does not support this application, sorry!”-message on this device. It still runs fine on my nexus 5.
I see here in the forum that this error has been related to Unity dropping support for some devices earlier (especially drop of non NEON devices). Does this message mean that this device no longer is supported at all? Or can it be related to some project specific setting that is not supported? I have tried to “play” around with some android player graphics settings without luck.
Does anyone know more about this error in general. Is it possible to get information on what is causing this? Any pointers and ideas appreciated.
Samsung s6 edge seems like a fairly new device; it should support NEON so that shouldn’t be the issue.
Also, the NEON requirement was introduced in Unity 5, so that would make sense when upgrading from Unity 4.x to Unity 5 or higher, which is not the case here…
Can you post a screenshot of the error? I have not encountered it myself, but i wonder if Unity itself is showing that or some other component.
Also, can you post a logcat log output from the device ? perhaps it will contain some useful information about the issue.
Thank you for your reply. I found the solution to my problem. It was not the upgrade to unity 5.4 that was the issue.
The issue stems from something related to android plugins and 64-bit support. I am not sure exactly what. We are using multiple android plugins with native code, one was recently updated to include both 32 and 64 bit native code. This was causing the issue. Removing the 64 bit native code from the plugin solved issue. I guess all plugins must support 64 bits for it to work correctly?
Anyway, that is another issue. I will update the initial post to help others.