I have created an android game, it is working well in my system but when i taking built in android device it struck and when play it runs damn slow even its taking too much time to load.I dont know whats the problem, may be problem in my rendering procedure. my built size is only 14 mb.Please anyone help me in solving this problem.
2 Answers
2A desktop PC has a much better graphics card than any mobile device. If you’ve been working on if for a while and only testing on the desktop PC, it may be that you’ve just made something that won’t run on an Android and you’re going to have to go back to the drawing board, and test constantly on the target hardware the next time.
Your question is very broad and you gave no information that would help someone diagnose your problem.
At least post a screenshot.
How many draw calls are you getting (click “Stats” button over the game view.) How many materials do you have in the scene? How many lights? Are you using real-time shadows? Built-in terrain with plants and trees?
The best thing about Unity Pro, which I still can't afford, is the profiler (the second best is probably the dark skin...) If you haven't yet used your pro trial, it's a good idea to do that when your game's almost done just so you can use the profiler. Otherwise if you have access to a Mac, try building for iOS and using Xcode's profiler to see where all the milliseconds are going.
– KiloblarghFor the record, the simple answer is “Use the profiler…”. A major and amazing feature of Unity!
Application size is almost completely irrelevant to how fast your game runs. As @kiloblargh has already said, if you want help you need to give us a lot more relevant information on what you're trying to do: How many game objects do you have on screen? How many materials? Are you using physics? What are the quality settings? What shaders/image effects have you applied? These are some of the things that are likely to affect performance, particularly on mobile devices.
– tanoshimiI am sending you my profiler image please have a look.
– abhishakverma