Game lags with high resolution
Hi, i'm working on a game right now. It works perfectly well in my mac and also in device with low resolution. But if i try to run the game in a device with high resolution like 1028*768, it lags as hell. What could cause that such of problem ?
Thanks for your answer!
Lag could occur when having too much gameObjects in the scene view. How many drawcalls and verts does your scene have? Do you use high quality texture, if you do compress them. If the verts doesn't reach over 10k then the problem probably lies within your code.
Be sure to remove all Debug.Log, Print, ConsoleWrite from your script before building and running your game. If you have references to Resource.Load then try to refer to them differently. Like by using GameObject.FindWithTag("..") or Refer to them directly by setting up a var and attach the gameObject to the script.
$$anonymous$$y Verts reach 20.5k. And you have to know that the problem occurs in high resolution besides everything works fine in my phone. But in my Tablet, the game lags a lot.
Actually my problem is different. $$anonymous$$y game runs well on everything device that has a different resolution from the one i've developped the game which is 1024 * 768.
It's pretty weird that lag!
Answer by D_Neon · Mar 01, 2018 at 10:13 AM
i have the same probem and i cant find the solution anywhere too
Your answer