Avatar preloading
Load an avatar in runtime memory.
Avatar Preloading
The Ready Player Me SDK provides an experimental avatar preloading functionality. Preloading functionality allows the loading of the avatars in the background. The main use case for it is to load the avatars while in the main menu or loading screen and instantiate them immediately when entering the game.
Avatar preloading functionality can also be used along with the Avatar Caching
Avatar preloading is available at runtime and includes support for Avatar Configurations.
Preload Avatar
For preloading, the avatars, use the Preload function Memory Cache. Memory Cache is accessible through the ReadyPlayerMeGameSubsystem. Provide a list of the avatar configuration parameters to the Preload function. It is possible to preload multiple versions of the same avatar to be able to use multiple avatar configs.
The avatars will not be loaded from the memory cache automatically
To be able to use the memory cache through the ReadyPlayerMeComponent component, in ReadyPlayerMeComponent enable the Use Memory Cache property.
Clear Memory Cache
If the preloaded avatars are not needed anymore, it's possible to clear the memory cache.
Last updated