Skip to main content

Mobile Performance

Experience performance on mobile devices is important for users to have a smooth and engaging gameplay. This page will cover some useful performance practices when creating a Genies Experience.

Object Pooling

Spawning and destroying Game Objects dynamically can be taxing on performance. Players may experience lag when this occurs. Unity has a term called Object Pooling that can help remedy this problem.

Read this Unity tutorial for more information:

https://learn.unity.com/tutorial/introduction-to-object-pooling

Profiler Window

Unity has a Profiler window that displays different metrics including update loop, rendering, and other useful information.

Read this Unity manual for more information:

https://docs.unity3d.com/Manual/ProfilerWindow.html

Graphy Tool

When testing your Experience on the Interim Launcher app, developers can use the Graphy tool to see performance stats on the device. To toggle the Graphy tool, tap the top left of the screen five times in the menu which will display the performance stats at the top right and bottom left of the screen.

note

The Graphy tool cannot be toggled inside of an Experience, only from the main menu.

Graphy Tool