r/Unity3D•
bubuopapa

Unity 2017.1 android empty project crashes

Question

So, i am trying to make android builds to work, and it is pain in the ass... First, newest android sdk is undetectable, had to download older sdk, no problem. Then, empty project just crashes on android phone... But development build runs fine... After reinstall of non dev build, it now runs for like 0.2 seconds and then just quits itself without any error message...

So, my empty test project: created 2d project in unity, created a filled square in paint, added it to scene in unity, added a c# script to it, added a single line to update function to rotate it and to see if everything works:

transform.Rotate(Vector3.forward * Time.deltaTime * 45.0f);

Now, as i said, this project either crashes or just quits itself without any error message, and development build runs fine. Samsung s5 g900f. Is this a unity bug or some misconfiguration by unity ? And what is weird is that non-dev build runs for about 0.2 seconds before quiting itself, i can see the square spinning a bit...

Posted Apr 26, 2017, 5:28 PM UTC · edited

10
Loading comments…