A toolkit for building structures that are fully destructible at runtime.Sample materials target the Built-in Render Pipeline and can be converted using Unity’s included material converter tools.Compatibility: Unity 6.3 LTS, Unity 6.0 LTS, Unity 2022.3 LTSPlayable Demohttps://mayuns.com/#/destructible-structure-builderBuild destructible structures entirely inside Unity.Destructible Structure Builder combines Scene-view construction tools with voxel-based damage, structural stress, dynamic collapse, debris physics, effects, and pooling.Quickly create buildings, bridges, platforms, and simple props without repeatedly switching to an external modeling application. Build with modular members, surfaces, stairs, and slopes, then damage the resulting structures through collisions or a straightforward scripting API.DSB is ideal for developers who prefer a Unity-native workflow, whether they want to avoid traditional modeling tools or simply iterate faster inside Unity.DSB is designed for modular structures created with its included tools.Important Scope Information: All construction happens inside the Unity Editor. DSB does not support runtime or player-driven building, nor does it fracture arbitrary imported meshes or replace a full modeling application for complex assets.Features1. In-Editor Structure BuildingCreate and configure destructible structures directly in the Scene view:Grid-aligned and free-angle structural membersWalls, floors, and other configurable surfacesStairs and slopesScene-view snapping and placement previewsManual or automatic support/ground detectionMaterial, damage, and structural-strength settingsTools for copying dimensions, materials, and surface designsFull editor undo/redo support2. Voxel-Based DamageGenerated structures are divided into damageable voxels. Apply damage through collisions or DSB’s scripting API.3. Structural Stress and CollapseOptional graph-based stress simulation evaluates support paths and structural load. Unsupported or overloaded sections can split, detach, and collapse dynamically.Grounded supports can be placed manually or detected automatically from configured ground layers.4. Profile-Driven EffectsConfigure reusable particle and audio profiles for:Piece crumblingStructural stressLarge collapsesWindow shatteringDebris impactsOptional material-specific profiles allow different materials to produce different destruction feedback.5. Performance-Focused RuntimeDSB includes systems intended to help manage the cost of active destruction:Debris object poolingMesh combining and chunkingScheduled processingConfigurable debris limits and lifetimesSeparate small-debris, large-debris, and detached-group behaviorAdjustable collision-damage queriesPerformance still depends on structure complexity, voxel density, active debris, physics settings, and target hardware.6. Optional Navigation SupportWhen Unity’s AI Navigation package is installed, DSB can rebake a structure’s NavMesh after destructive events change the surrounding walkable geometry.What’s IncludedFull, unencrypted C# source codeEditor structure-building toolsRuntime destruction and stress systemsReusable and easily modifiable audio and particle-effect profilesSample materials, audio, particles, and texturesExample scene with prebuilt destructible structuresComplete documentation and quick-start guideKnown LimitationsIntended for simple modular and framed structuresEditor-only authoring; no in-game building systemNo built-in multiplayer or networking integrationRequires uniform structure scalingGeometry-changing tools cannot edit prefab assets, Prefab Mode contents, or connected prefab instances. Unpack an instance before editing, then save it back to a prefab intentionally.Included sample materials target the Built-in Render Pipeline. URP and HDRP projects may need to convert them using Unity’s material-upgrade tools.Unity’s Input System package (com.unity.inputsystem) is required only for the included demo controls.Unity’s AI Navigation package (com.unity.ai.navigation) is required only for optional NavMesh rebaking.SupportEmail: support@mayuns.comDiscord: https://discord.gg/73GaMeP6JFDocumentation: https://mayuns.com/#/destructible-structure-builderFull in-editor construction toolkitVoxel-based DestructionSwappable audio and particle effectsStress simulation for realistic collapse behaviorDynamic ChunkingDebris spawning with pooled runtime debris handlingRuntime damage support through scripting APIOptional collision-based impact damageMaterial-specific destruction effect overridesNavMesh RebakerAI was used to help debug portions of code during development.




