Astra Unity 2.6.6
Astra Unity Plugin
|
This example demonstrates some of the techniques to be able to load many avatars at the same time more efficiently More...
Public Member Functions | |
Vector3 | GetRandomWaypoint () |
This example demonstrates some of the techniques to be able to load many avatars at the same time more efficiently
Things that primarily affect avatar loading time are whether assets are currently installed in the cache that Astra uses, the size of the assets themselves. The first time you load a given asset, it will take much longer, as the asset is being downloaded from the back end and then installed into the Astra Cache.
Textures are by far the biggest impact to memory footprint, hence the setting below to use no more than 512x512 textures (some asset textures are much larger). This setting is: FeatureDetection.OverridePreferredTextureMaxSize(512); Care should be taken that textures for assets are compressed. If they are uncompressed their size will be unreasonably large, and will be a problem to load on mobile devices without hitting app memory restraints.