Optimization Tips - ReachCloudDevelopers/MetaverseCloudEngine.Unity.SDK GitHub Wiki

Tips for Optimization

Use the Asset Bundle Browser

The SDK will automatically install Unity's "Asset Bundle Browser" package that helps you to view the size of assets and sub-assets so you can get a better idea of how much storage space your textures/meshes/etc. are taking up.

For more information on how to use the Asset Bundle Browser: https://docs.unity3d.com/Packages/[email protected]/manual/index.html

Export Your Procedural Meshes

Some don't know this but having procedurally generated meshes in your scene (such as ones generated using Pro-Builder, R.A.M Auto Material, EZ Roads, etc.) can actually cause your scene to be incredibly slow and large. This is because, in order to preserve the mesh between scene loads, Unity has to save the mesh data within the scene file. To prevent this, make sure to export your procedural meshes into your project and assign them in the Mesh Filter.

Create Prefabs

Another way to quickly slow down and increase your scene size is by creating massive hierarchy trees that are not part of a prefab. This is because, like procedural meshes, Unity has to save all component and hierarchical structure data to the scene file. This too can cause your scene to be rather slow and hard to load. To prevent this, try splitting up parts of your scene into prefabs.