2D IOS Game laggs

Hay,

so I recently started creating my very own first mobile game. It is my first game ever and I might build in some inefficent stuff. My basic game is set, and so I started testing it on my IPhone 8. The Problem: The game is REALLY laggy. maybe 15-30 fps or something. I searched in many forums and already set my fps rate to 60, and compressed all my images to RGB 24 bit and RGBA 32 bit. But it doesnt get any better. weirdly I got a very messed up scene area. the play area, in comparison with my game, is gigantic. (Screen below)


As you can see my actual game is in the very down/left corner.

My game contains a lot of spawning objects with instatiate and looking for colliders. As I said its my first game and Iam not very expirienced in creating efficent code yet.

Here is a video, that shows the lag, it may seem fluent but playing it is very laggy compared to the pc version. The draging ect. feels very harsh.

I would appreciate if someone can help me get my game mor fluent on IOS. If more information is needed just let me know! I already put so much worktime in my first game and would love complete it!

Thanks!

Edit: Or is it just the Unity Remote 5 App, that displays the game laggy?

PS: Sorry for my baad english, Iam form Germany :slight_smile:

@Zorou

“Or is it just the Unity Remote 5 App…”

…Why not make a proper build and see how your game works? Running the game in editor and with remote is definitely not the same as running it on a device.

Seems like this was it. the build runs really smooth! Thanks!