- Home /
How Can I Get Rid Of Lag When My Game Loads on Low-End PC'S?
Hi there :)
I am having an issue when I start the game. Everything has to be rendered, no matter whether you're looking at it or not, causing the FPS to drop dramatically, making the game look unprofessional. This lasts for about 20 seconds and after when everything has been rendered, it is fine. I need a method like Occlusion Culling, but of course, it is only implanted in the Pro Version of Unity.
NOTE: IT IS JUST THE LOADING AT THE START, My Bad for saying it is when it's rendered :)
Occlusion culling is PRO but frustrum culling is free and in almost all the situation its enough to have a decent, playable FPS.
You say this is happening when your objects are rendereing for about 20 secs. But the objects are rendering in every frame. Did you mean when objects are being created? In this case a loading screen is enough.
You could use a script to set quality settings to fastest whilst loading the game. You could also Render the stuff, a few at a time ins$$anonymous$$d of all at once. Use
yield WaitForSeconds(time goes here in seconds);
. Example: function start(){ Load some stuff yield WaitForSeconds(5); //Load more stuff //Etc.... }
You could also use some way of waiting for end of frame, or detect once that bit of loading is done.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
FPS Movement Incredibly Laggy 0 Answers
Unity render lag questions 1 Answer
New Problem 1 Answer
Networking question 1 Answer