3 Ways to Reduce Load Time in Runtime for Unity

<p>Long loading time have always been a problem for most indie games. With my experience in game development, I can assure that if you don&rsquo;t pay attention and avoid it, it will eventually become the bottleneck of your game&rsquo;s performance. I&rsquo;ll list 3 reasons that might slow down game loading and show you how does SmartReference(<a href="https://github.com/Brian-Jiang/SmartReference" rel="noopener ugc nofollow" target="_blank">https://github.com/Brian-Jiang/SmartReference</a>) make your game loads 10x faster.</p> <p>1. Do not use Resources folder to store all your assets</p> <p>Most beginners store assets in Resources folder and load assets using&nbsp;<code>Resources.Load</code>&nbsp;API call. This is convenient but the problem is when you load any assets in Resources, unity will load the whole Resources bundle, which basically means that all assets of your game will be loaded from the launch of your game. This terrible and is usually the reason that your game startup slowly.</p> <p>Another thing I want to point out is that scenes are automatically included in resources, as for everything it references. So if you never think of asset management but your game can still work, that might be the reason. However, when your game grow, you&rsquo;ll find asset management neccessary to keep expanding your content.</p> <p><a href="https://medium.com/@bjjx1999/3-ways-to-reduce-load-time-in-runtime-for-unity-15d33003eb79"><strong>Learn More</strong></a></p>
Tags: Runtime Unity