Spline Spawner Documentation

Spline Spawner
Version: 1.1.0
Review

5.Troubleshooting/FAQ #

When using mesh prefab as an input object, all meshes in the FBX file are spawned

This is because the source asset is being spawned, which contains all the meshes. If you were to drag the object from the Project window into the Hierarchy the same thing will occur.

Solution: turn the mesh into a prefab, and use that instead.

Drop to Colliders modifier. Not positioning all objects

Increase the “Ray Height Offset” parameter so that the raycast towards colliders is performed further away

When using a Spline Spawner component prefab, nothing is spawning

Spawning functionality from a prefab instance is not supported. This is because a Respawn operation can involve destroying objects, which is not allowed for prefabs.

You can, however, open the prefab up for editing and adjust it there.

A Spline Spawner prefab selected in the Project window will also not spawn, otherwise altering its settings would cause it to spawn new objects into the currently active scene.

When using multiple different prefabs, with different pivot points, gaps appear on the curve

This is attributed to the fact that objects are positioned on the spline based on their pivot point. In this scenario you’d expect the bush to be offset so that it’s centered in the gap.

This is currently a standing limitation.

Spawning objects in a centered manner is a planned improvement, but currently has some technical challenges, such as also fixing rotations to rotate an object around it’s center.

Console errors

Console message: Leak Detected : Persistent allocates 4 individual allocations. To find out more please enable 'Preferences > Jobs > Leak Detection Level > Enabled With Stack Trace' and reproduce the leak again.

Fixed since version 1.1.0, please update the asset to resolve this.

error CS0117: 'math' does not contain a definition for 'Euler'

This asset requires version 1.3.2 of the Mathematics package. It is set up as a dependecy so is typically auto-installed (or updated).

To resolve this, ensure you have the correct version installed.

Library/PackageCache/com.unity.collections@2.5.1/Unity.Collections/FixedList.gen.cs(23,13): error CS0234: The type or namespace name 'Properties' does not exist in the namespace 'Unity'

You’ve imported this asset into a Unity 2021 project anyway. This prompted the installation of the Collections v2.5.1 package, which is strictly incompatible with this version.

Delete the asset and downgrade the Collections package to a compatible version. You will need to upgrade to Unity 2022.3.23f1+ to use this asset (as noted on the asset store).

Yes No Suggest edit
Last updated on September 24, 2025
0 of 0 users found this section helpful
If you're familiar with this asset, please consider leaving a review!
Your support is what makes complementary updates possible!
Suggest Edit