UWorldPartitionMiniMapBuilder doesn't render water bodies

Is there any reason why the UWorldPartitionMiniMapBuilder doesn’t render water bodies? In the resulting texture, the areas that have water bodies don’t seem to render at all.

[Image Removed]

[Attachment Removed]

Hello!

The problem is that the water information is not being updated in the commandlet. We are working on a fix and I’ll report back when it’s available.

Regards,

Martin

[Attachment Removed]

I ended up logging an internal bug report so this can be handled by the engine team. https://issues.unrealengine.com/issue/UE-359953

I did find a work around that you could implement if you don’t want to wait for the official fix. You would need to modify 2 bits of code:

  • In FWorldPartitionMiniMapHelper::CaptureBoundsMiniMapToTexture, add call to FWorldPartitionHelpers::FakeEngineTickin the Warmup look (line 110)
  • FWaterViewExtension::ShouldHaveWaterZoneViewData prevents the water data to be updated for a SceneCapture. Either lift that restriction permanently or when running a commandlet.

I didn’t feel comfortable to submit what I found as it goes against the comment in ShouldHaveWaterZoneViewData

Regards,

Martin

[Attachment Removed]

Much appreciated. We will try it with the appropriate modifications

Thanks!

[Attachment Removed]

Did you try this approach? We tried it and got a solid color white-ish water. A step in the right direction for sure, but not entirely there.

[Image Removed]

[Attachment Removed]

I did test with 2 lakes and it is fine.

[Image Removed]

There might be more to it. The owner of that code should be able to figure it out.

[Attachment Removed]

You’re right. My bad, we had some leftover cruft from some other stuff we were trying. It works

[Attachment Removed]