
Easily spawn prefabs on surfaces with raycasting, overlap checks, random scale/rotation, and visual spawn area controls in Scene view. Ideal for fast environment setup in Editor.Compatible with Built-in, URP, and HDRPEditor-only tool, safe for all Unity render pipelines.It is compatible with Custom Render Pipelines as long as:The custom RP project uses Unity’s SceneView and Editor tools (which most do).The prefabs you're spawning use materials that work in that RP.The Physics system is not stripped or modified (Physics.Raycast must work as expected).Object Spawner Tool is a Unity Editor-only utility designed for environment setup and level prototyping. It enables spawning prefabs on mesh surfaces with customizable controls:Spawn Modes: Choose between 2D and 3D placement logic.Scale Options: Fixed or random scale per object.SceneView Handles: Adjust position and radius of the spawn area interactively.Overlap Control: Prevents objects from spawning too close together.Parenting & Organization: Spawned objects are grouped under a named parent.This tool streamlines the placement of foliage, props, or environmental assets without writing code. Compatible with Unity’s Built-in RP, URP, and custom pipelines that use standard physics and handles. Ideal for both solo developers and studio teams.Unity Version Compatibility:Tested on Unity 2021.3 LTS and above. Compatible with Unity 2022 and 2023 versions.Render Pipeline Support:✅ Built-in Render Pipeline✅ Universal Render Pipeline (URP)⚠️ Custom Render Pipelines: Supported as long as Unity’s standard Physics and SceneView Handles are functional.Supported Platforms:Editor-only (Windows, macOS) — no runtime componentsDependencies:None — works out of the box with Unity EditorFeatures:Raycast-based prefab placement2D / 3D spawn modeRandom rotation on the Y-axisOptional random scalingOverlap avoidanceSceneView interactive handle for position and rangeVisual preview with colored rectangleSpawns grouped under a parent objectFile Size: Approx. ~20 KB (excluding demo assets)Includes:Full C# source code (Editor script)Sample demo sceneReadme and documentationFree demo assets (tree, rock) licensed for redistributable useI used AI in creating this package. To assist in generating and refining code snippets and documentation. The AI acted as a coding assistant, providing suggestions, debugging support, and optimization tips throughout the development process. However, all code and assets were curated, tested, and finalized by me to ensure quality and functionality within Unity.