This helped me as well! Thanks!! In short, just put everything inside the terrain_layout subnet in the same geo node.

It took me a while to find this post, so I'm adding some search words:
Unity, HDA, Houdini, Houdini Engine, Editable Nodes Tools, painting does not work.