Terrain Editor Replace Brush Plane Lock Errors

Reproduce steps:

  1. open blank studio
  2. Go to terrain editor
  3. Click Replace
  4. Switch from box to brush
  5. Set plane lock to auto or manual
  6. Will not switch to auto or manual, but instead it error

Will take a look at this, thanks for the report!

2 Likes

I took a look at this and a fix should be out relatively soon. That being said, this bug occurs when you switch your source material to air while have plane lock set to off, or if you try and set plane lock while the source material is set to air.

In other words, at least for now, you won’t run into errors if you set the source material to something other than Air.

3 Likes

I’ve gone ahead and enabled the fix. It should automatically bump you into plane lock if you selected air as your source material, and will stop you from turning off plane lock so long as air is selected as the source material.

2 Likes

Is there a reason why air as source material absolutely requires plane lock?

Yes, because the tool would be unusable without it. When plane lock is off, the position of the brush is decided by doing a raycast onto the terrain. So if we replace air with another material, then the raycast gets updated onto the material you just placed. The result, is really long pillars going straight towards the camera. The add tool was recently updated to mitigate that issue, but replace works differently and is unlikely to support this new functionality.