Navigation
API > API/Runtime > API/Runtime/RuntimeAssetCache > API/Runtime/RuntimeAssetCache/URuntimeAssetCacheBuilder_Object-
Description
When you get OnAssetCacheMiss you need to load/create the asset that is missing. Call SaveNewAssetToCache after you're finished creating the asset to save it back into the cache for next time. This will then trigger OnAssetCacheComplete like normal, so you don't need additional code to handle it.
| Name | OnAssetCacheMiss |
| Type | function |
| Header File | /Engine/Source/Runtime/RuntimeAssetCache/Public/RuntimeAssetCacheBuilders.h |
| Include Path | #include "RuntimeAssetCacheBuilders.h" |
UFUNCTION (BlueprintNativeEvent, Category=RuntimeAssetCache)
void OnAssetCacheMiss()