Top 5 Optimization Tips from Building a Mobile Game in Unity




Published: 24 May 2022

Learn my top 5 optimization tips from building my latest mobile game! I boosted the fps in my game from barely playable in the Unity Editor to a solid 60fps ๐Ÿš€ on most mobile devices!


These are not mobile-specific optimizations, and they don't all apply to every game type. Which optimization techniques will be most impactful for your game will vary depending on what kind of game you're making and how you've implemented it (this is discussed in the video as well).


If you're struggling with FPS in your game, this is a great starting point for which techniques you can use to optimize your game! There are WAY more than 5 optimization techniques, and not all of them may apply to every game type. These are the ones I found most beneficial when optimizing my game!


I hope this helps give you some guidance on how you may be able to boost the FPS in your game and have it run super smooth on your target platform and target hardware!


๐Ÿ‘จโ€๐Ÿ’ป Since this is just a "tips" video, there is no GitHub repository available this time! All tutorials have full projects available on GitHub: https://www.github.com/llamacademy


๐Ÿท๏ธSave 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?section=personal&billing=yearly


๐Ÿ“š Resources

โšซ Unity Profiler: https://docs.unity3d.com/Manual/ProfilerCPU.html

โšซ Unity Mesh Combining API: https://docs.unity3d.com/ScriptReference/Mesh.CombineMeshes.html

โšซ Simple Mesh Combine: https://assetstore.unity.com/packages/tools/utilities/simple-mesh-combine-8748?aid=1101l9QvC

โšซ Unity GPU Instanced Animations: https://blog.unity.com/technology/animation-instancing-instancing-for-skinnedmeshrenderer

โšซ Mesh Animator (no URP / HDRP support): https://assetstore.unity.com/packages/tools/animation/mesh-animator-animate-massive-crowds-26009?aid=1101l9QvC

โšซ Unity Performance Tips: https://unity.com/how-to/best-practices-performance-optimization-unity#transforms

โšซ Baked Animations: https://www.youtube.com/watch?v=Hh5zcT2IkaQ

โšซ Static Batching: https://youtu.be/8D8A6gabwlU

โšซ Jobs System: https://www.youtube.com/watch?v=dHLNqbKrJdg


๐Ÿงก Believe in LlamAcademy's mission and have received value from the videos? Here's how you can show your support:

๐ŸŒŸ Patreon: https://www.patreon.com/llamacademy

๐ŸŒŸ YouTube Member: https://www.youtube.com/channel/UCnWm6pMD38R1E2vCAByGb6w/join or click the Join button on any video

๐Ÿ“š Take my Unity ShaderGraph Course:

https://www.gamedev.tv/p/unity-shader-graph?affcode=45216_kuvg0bp7

๐Ÿ‘• Get yourself some LlamAcademy merch: https://llamacademy.myspreadshop.com/

๐Ÿ’ธ Use my Affiliate Link for Humble Bundles https://humblebundleinc.sjv.io/9g4ak4

๐Ÿ’ธ Publisher Sale! 50% OFF an entire publisher's Assets! Publisher changes weekly! https://assetstore.unity.com/publisher-sale?aid=1101l9QvC (affiliate)

๐Ÿ’ธ Save up to 50% on NEW Assets: https://assetstore.unity.com/?new_sale=true&orderBy=1&aid=1101l9QvC (affiliate)


Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.


Connect on Social Media

Some links may be affiliate links, which at no additional cost to you, gives LlamAcademy a small portion of the purchase.