Reproduce steps:
- open blank studio
- Go to terrain editor
- Click Replace
- Switch from box to brush
- Set plane lock to auto or manual
- Will not switch to auto or manual, but instead it error
Reproduce steps:
Will take a look at this, thanks for the report!
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.
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.
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.