Expanded Terrain removes >16 voxels thick terrain

Terrain LOD mesh disappear when streaming radius is small and streaming is enabled

Now:

Before:

The map is in the private message, Workspace settings has been tweaked to match the game ones.

A private message is associated with this bug report

2 Likes

thanks, I will take a look and get back to you

3 Likes

Hi Sylmat,

I discovered 2 bugs here.

  1. terrain downsampling path with mixed materials had an off by 1 error that overflowed, causing the missing solid terrain

  2. Water upsampling had small issues that caused some water levels to be too low.

We added a patch to the upcoming release for 1, and that should land when the next Studio/RCC release happens (usually next week mid week if nothing is delayed), and 2 will be out for the patch after that, so around 2 weeks if nothing is delayed.

1 Like

Hi Sylmat,

Fix for the first bug has been rolled out. Please disable ExpandedTerrain then reenable it again (with the restarts in between) for the fix to populate. The water upsampling issue has been merged, we are waiting for that to be released with the latest studio.

1 Like

Hello thanks for the quick update.

I’ve tested again in the same map and despite looking better, it still seems to happen. Maybe it’s a different bug?

The terrain shows with gaps/empty spots, but then as you load it, it stays properly loaded, even moving back.

For example here I loaded the right corner, you can see as I moved back, it’s still there:

did you disable expanded terrain, wait for server to restart and then enable again?

I also closed and reopened studio after each restarts (Enabled → Disabled and Disabled → Enabled)

EDIT: The pictures were in studio, does it change something?
EDIT2: In the client all terrain loads, but water looks bad:

the water is bug 2 that I mentioned, I will try to roll out the fix once it has been released, the water is quite shallow on this map which leads water to disappear during upsampling. As for the studio issue, is it the same placefile that you have provided?

1 Like

I also attached the refreshed place after the fix in the PMs, could you check if you are still seeing the issue with the solids?

Ahhh ok.

It wasn’t the repro place file, but the game itself, which contains the same map, same workspace settings.

In the repro place you sent, I don’t see the missing terrain artifacts like I did testing in the game directly.


Maybe the difference is that in the game, the map is dynamically loaded-in, while in the repro place it’s “static”?

It could be, you said the images were from studio, would you be able to isolate that terrain loading script + terrain data into a place and see if it repros? I can see if this is an issue with live terrain swapping.

Also by in the game, do you mean playmode? As ExpandedTerrain is still disabled for clients.

Oh yeah sorry, it was in the studio play test of the game. Not in the actual “game client”, it’s still disabled for clients.

I’ll get on it and send it in the private message once it’s done.

1 Like