Hi everyone!
I’ve successfully followed the Unreal Engine tutorial to create an endless runner game.
The tutorial: Endless Runner: Spawning the Course | 02 | v4.7 Tutorial Series | Unreal Engine - YouTube
Now I’m trying to do the same thing as a Side Scroller Game, and my character is automatically running on the Y Axis with an Event Tick.
But each time my character is crossing the EndTrigger which generate a new random tile (I’ve actually created a set of 5 tiles and the game pick a random tile) I have a short lag on my Android phone. (Oneplus X) The Endtrigger is just before the short space between the tiles on the screenshot.
I’ve tried several thing, like loading all of my tiles by hiding them somewhere from the camera, or to put all the tiles at the beginning on the game, but it seems like everytime the game is adding a tile, even an already generated one, I have a short lag…
Do I have too many mesh on my tiles? The old tiles are destroyed after 4 seconds.
If someone have any idea why I’ve these lags it would be great
I’ve attached a screenshot of the game and the tiles.
Many thanks !