Quantcast
Channel: Questions in topic: "crash"
Viewing all articles
Browse latest Browse all 2383

2D Android crashs at start up without any log.

$
0
0
Hello guys, I know that this question may sound vague, but I'm desperate. So, if you could help me I would really appreciate it. So, this is the problem. I'm doing a 2D game in Unity 4.5.1 targeting Android ICS 4.0 (API lv 14) and sometimes when the game starts (right after the Unity splash screen) it crashes. I only do two Resources.Load at start up, a Sprite and a Prefab (I can't put them as GameObjects at build-time because they are choose randomly). After some research I though about an OutOfMemory and started to see the Internal Profiler looking for some error, but all seems fine to me. Here some data: Stats at Editor ![alt text][1] [1]: /storage/temp/27641-untitled.png And the Internal Profiling: 06-12 21:37:32.110: D/Unity(24706): ---------------------------------------- 06-12 21:37:33.210: D/Unity(24706): Android Unity internal profiler stats: 06-12 21:37:33.210: D/Unity(24706): cpu-player> min: 3.3 max: 114.6 avg: 17.8 06-12 21:37:33.210: D/Unity(24706): cpu-ogles-drv> min: 0.2 max: 1.4 avg: 0.5 06-12 21:37:33.210: D/Unity(24706): cpu-present> min: 0.0 max: 1.0 avg: 0.1 06-12 21:37:33.210: D/Unity(24706): frametime> min: 3.7 max: 114.9 avg: 18.3 06-12 21:37:33.210: D/Unity(24706): draw-call #> min: 16 max: 18 avg: 16 | batched: 2 06-12 21:37:33.210: D/Unity(24706): tris #> min: 46 max: 48 avg: 46 | batched: 15 06-12 21:37:33.210: D/Unity(24706): verts #> min: 92 max: 96 avg: 93 | batched: 31 06-12 21:37:33.210: D/Unity(24706): player-detail> physx: 0.2 animation: 1.6 culling 0.0 skinning: 0.0 batching: 0.1 render: 11.1 fixed-update-count: 0 .. 1 06-12 21:37:33.210: D/Unity(24706): mono-scripts> update: 0.1 fixedUpdate: 0.2 coroutines: 0.0 06-12 21:37:33.210: D/Unity(24706): mono-memory> used heap: 266240 allocated heap: 266240 max number of collections: 0 collection total duration: 0.0 06-12 21:37:33.210: D/Unity(24706): ---------------------------------------- I looked the logcat too for some exception or OutOfMemory, but it is crystal clear. Someone can help me? Give me some advice? I'm pretty much lost here. Thank you :)

Viewing all articles
Browse latest Browse all 2383


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>