- Home /
First character controller make unity crash at startup
Hello, i have a simple 3d project with a terrain. If i build apk and install into android 6, all works fine.
If i add a first character controller from assets, and i build, application don't starts. If i run the app, i see the splash screen and after seconds, application dies.
the only thing i saw on logcati is this : ActivityManager: Permission Denial: getCurrentUser() from pid=8831, uid=10151 requires android.permission.INTERACT_ACROSS_USERS
why does not application ask for permission at runtime?
are you using the default assets from unity
example
assets import package character
Answer by Hunterb541 · Jan 09, 2018 at 10:57 AM
make sure your using the prefab.... try using both characters to see which one works....FPSController should work fine. if that is the one you are using try deleting it and placing it back and when you do this make sure that you don't have any other cameras in your scene. I had this issue in my programming class
20 others in my class would put the charater down and then get an error/ crash and deleting it and replacing it actual fixed it
ok, clean project, all working. after some modification, the same problem is returned. It's seems like an IDE error. However it's independent from Android (i think) thanks a lot
Your answer
Follow this Question
Related Questions
Unity 3d Network dies on Android 0 Answers
Lerping the Camera closes Nexus 5, not Nexus 10 0 Answers
Random crashes in Android build 0 Answers