Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

2D IOS Game laggs

Discussion in '2D' started by Zorou_, Jan 5, 2020.

  1. Zorou_

    Zorou_

    Joined:
    Jan 5, 2020
    Posts:
    7
    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)

    Bild 1.PNG
    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 :)
     
    Last edited: Jan 5, 2020
  2. eses

    eses

    Joined:
    Feb 26, 2013
    Posts:
    2,637
    @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.
     
  3. Zorou_

    Zorou_

    Joined:
    Jan 5, 2020
    Posts:
    7
    Seems like this was it. the build runs really smooth! Thanks!