Procedural House Builder – Mad Lotus


House Village: one house per House Lot. Resize a lot with its handles and the house is rebuilt to fill it. ... A House Village or House Street can build itself in Play Mode from its seed.


by Mad Lotus


Price History +

Drag, raise and restyle modular houses directly in the Scene view, then fill streets and villages with them in one click.

Features
- Scene view editing: footprint arrows, cell spheres, corner diamonds, storey and roof styles (Shift + scroll), Piece Mode, Floor Mode, Paint Mode, Top view
- Bake: one mesh per material, merged colliders
- Interior stairs, doors on every house, optional paved yard, up to 16 storeys
- House Street (Unity Splines); a simple House Road mesh is included for demo scenes
- House Village with resizable House Lots
- Deterministic runtime generation from a seed (Mono and IL2CPP), Generated event, houses per frame
- Kit Setup Wizard and House Style Library window (styles, weights, corner versions)

Sample kit (Modular Village)
- 137 meshes (FBX), 8 to 874 triangles each (about 120 on average)
- 1 material (URP Lit), 1 texture: 4096 x 4096 trim atlas (PNG)
- 10 storey styles, 6 roof styles
- Read/Write enabled on the meshes (needed to merge them at runtime)

Code
- Namespace MadLotus.HouseBuilding, assembly definitions for runtime, editor, splines and the Netcode sample
- Full C# source, no DLLs

Requirements
- Unity 6000.2+, URP
- Optional: com.unity.splines (streets and roads), com.unity.netcode.gameobjects 2.0+ (Netcode sample)

Documentation: Documentation~ folder in the package (English and Portuguese, HTML and PDF)

Build houses the way you think about them. Select a House Builder and edit it right in the Scene view: drag the arrows to move a whole side on a 2 m grid, the green arrow to add storeys, the spheres to shape L, T and U plans or raise towers, and the diamonds to make corners straight, diagonal or round. Shift + scroll over a storey or a roof swaps its style. No modelling, no prefab juggling.

Streets and villages in one click.
• House Street: houses on both sides of any Unity Spline. Bend the spline and the lots follow. Setback, gap and sides are in the Inspector. (A simple road mesh is included for the demo scenes.)
• House Village: one house per House Lot. Resize a lot with its handles and the house is rebuilt to fill it. Add Lot continues the row.
• New Seed gives new houses everywhere; houses you edited by hand keep their changes.

Every generated house stays editable. 

Houses of a street or village are regular House Builder houses saved with the scene: select one and edit it like any other.

Ready for production.
• BAKE merges the pieces into one mesh per material, with merged colliders.
• Piece Mode swaps any single piece; Floor Mode changes the floor of a storey or a terrace.
• Interior stairs between storeys, placed automatically, with a landing inside the house at both ends.
• Every house gets a door, even with shaped corners.
• Optional paved yard around each house.
• Paint Mode: paint the footprint on a ground grid, storey by storey.

Runtime villages. A House Village or House Street can build itself in Play Mode from its seed. The generator is deterministic: same seed, same village on every machine (Mono and IL2CPP). The Netcode for GameObjects sample sends only the seed to the clients.

Your own kit. The Kit Setup Wizard reads a folder of FBX files or prefabs, recognizes each piece by its name, checks it against the piece contract and builds a style library. The House Style Library window edits storey and roof styles and their weights for random houses. Piece Templates (grey examples of every role, with the right pivot and size) show how to model a compatible kit.

Included
• House Builder, House Street, House Road, House Village and House Lot components, full source code (C#)
• Modular Village Kit sample: 137 pieces, one URP Lit material, one 4096 × 4096 trim atlas, 10 storey styles, 6 roof styles, demo scene
• Piece Templates sample with a Blockout style library
• Runtime Village sample, with a Netcode for GameObjects scene
• Manual in English and Portuguese (HTML and PDF)

Requirements: Unity 6000.2 or newer, Universal Render Pipeline. Unity Splines for streets and roads (optional).