- Home /
Unity installs APK but manual install of APK crashes
Installing(build and run) via unity functions correctly, the apk is built and runs fine. However if I take the apk that is produced and install (adb install {apk path}) The app installs however the apk crashes after a bit.
The logcat is spitting out
NullReferenceException at UnityEngine.Material..ctor (UnityEngine.Shader shader) [0x00000] in :0 at UIDrawCall.UpdateMaterials () [0x00000] in :0 at UIDrawCall.OnWillRenderObject () [0x00000] in
Logcat on the Unity build and run executes as expected.
Why would it function correctly, being installed from unity while a manual install fails?
Answer by vbbartlett · Jul 10, 2013 at 05:14 PM
So I finally located this. Apparently one of the Panels had depth turned on. The other oddity is that it couldn't find the Depth cutout shader while installing from unity it can... odd!
Your answer
Follow this Question
Related Questions
insert my folder into an apk 0 Answers
Android signed APK Installation failed 1 Answer
How do you Create an Installer App? 0 Answers
App Doesnt install on device (Android) 1 Answer
Unable to install APK! 11 Answers