- Home /
Why does Unity add to a manifest when building?
When I build my android project in unity it inexplicably adds that persmission to the manifest file, the manifest file does not have it in there and I don't use the camera in the game at all.
Any ideas what's causing this to happen?
Answer by Dreamora · May 15, 2013 at 02:11 PM
you must remove the entry afterwards manually.
Unity adds it because Webtexture works on mobile, yet it does not check if the code is really used.
thanks for the answer!
Currently how I plan to remove it is by creating an eclipse project and manually removing it from the manifest.xml file, is there a better way?
You can try using a post-process script:
http://docs.unity3d.com/Documentation/$$anonymous$$anual/BuildPlayerPipeline.html
Since you build for android you have to use some zipping library to modify the build.
Your answer
Follow this Question
Related Questions
Android Unity ARCore camera access 0 Answers
OnRenderImage in one of the two cameras, Android showing only post processed camera. 1 Answer
Second Camera Tearing on Android 1 Answer
my camera show an extremely weird aspect [android] 0 Answers
I have for example 10 pixels, how to make width of camera with 10 pixels? 0 Answers