UnkownRef Mips is meant to fix/workaround the problem where some textures are used for rendering but they don't have any component references them (such as texture used by PP effects)
These UnkownRef seems to be caused by the following situation:
StreamingRenderAsset.bUseUnkownRefHeuristic = MaxSize == 0 && MaxSize_VisibleOnly == 0 && !MaxNumForcedLODs && StreamingRenderAsset.LastRenderTime < TimeSinceRemoved - 5.f;
Licensees can disable the usage of the unknown mip heuristic manually in code by commenting out a the following code in FAsyncRenderAssetStreamingData::UpdatePerfectWantedMips_Async().
if (StreamingRenderAsset.bUseUnkownRefHeuristic && StreamingRenderAsset.LastRenderTime < 90.0f && (Settings.DropMips != 3 || AssetType == EStreamableRenderAssetType::Texture)) { if (bOutputToLog) UE_LOG(LogContentStreaming, Log, TEXT(" UnkownRef")); MaxSize = FMath::Max(MaxSize, MaxAllowedSize); // affected by HiddenPrimitiveScale if (StreamingRenderAsset.LastRenderTime < 5.0f) { MaxSize_VisibleOnly = FMath::Max<int32>(MaxSize_VisibleOnly, MaxAllowedSize); } }
Disabling this cause all decals to be blurry. The workaround for that is to add UStaticMeshComponent as a sub-object of ADecalActor to inform the streamer of the existence of the decals.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-181294 in the post.
0 |
Component | UE - Graphics Features |
---|---|
Target Fix | 5.6 |
Created | Mar 27, 2023 |
---|---|
Updated | Oct 18, 2024 |