SplineForge — Your Blender Curves as Unity Splines: The Same Shape and the Same Roll, Measured in Millimetres and Degrees
SplineForge — documentation
Your Blender curves as Unity Splines: the same shape and the same roll around the curve (tilt, twist method, banked roads, loops), standing where Unity puts the rest of your Blender scene, and measured against Blender's curve in millimetres and degrees.
Requirements
Blender 4.2 or newer. Unity 6 with the Splines package 2.8 or newer (com.unity.splines; Window > Package Manager > Unity Registry > Splines). No Python packages, no cloud, no account, no AI model.
Install
- Keep the archive zipped. In Blender open Edit > Preferences > Add-ons.
- Press the arrow in the top right corner, choose Install from Disk, pick the archive, tick SplineForge.
- Press N in the 3D Viewport: a SplineForge tab appears in the sidebar.
In Blender
- Pick your curve in Curve (or leave it empty and highlight several curve objects in the viewport). Every spline of the object comes along: Bezier, Poly and NURBS, open or closed, in world space (moved, turned, scaled, unevenly scaled or mirrored objects are fine). Edits you have not yet left Edit Mode for are read too.
- Set Roll (deg): how far Unity's up may turn from Blender's around the curve at any proof point. Set Shape (mm): how far Unity's spline may lie from Blender's curve (it matters for NURBS, which are fitted; Bezier and Poly splines are carried exactly).
- Press Scan. The panel shows how many Unity knots the curves need, the worst roll and shape Scan expects in Unity, the extra knots that keep Unity's roll with Blender's, and the corners.
- Choose a folder (inside your Unity project's Assets is easiest) and press Export for Unity. It writes NAME.splineforge.json (the passport: Unity's knots and Blender's own points and up vectors along each curve), NAME_markers.fbx (four markers one metre apart that tie Blender's space to Unity's) and the SplineForge folder with the Unity script. Your scene is not changed.
Export your other models as usual with Blender's FBX exporter at its defaults: the splines land where they land.
In Unity
- Let Unity import the files. In the Project window click the .splineforge.json (or its folder).
- Tools > SplineForge > Set Up Splines makes one GameObject with a SplineContainer per Blender curve object, under "NAME (SplineForge)", one Unity spline per Blender spline. Each knot is turned so that Unity's up along the spline follows Blender's. Blender's radius comes along as spline data named "radius", at each of Blender's own points (Unity blends it linearly between them). Run it again after a new export: the same GameObjects get the new splines, so components you added to them (Spline Extrude, Spline Animate, your own) keep working. Only the splines SplineForge made are replaced: splines you added to the container stay, after Blender's (a copy of one of SplineForge's counts as SplineForge's). Nothing is deleted: a GameObject for a curve the new export no longer has (renamed or removed in Blender) is left as it is, and named.
- Tools > SplineForge > Check Splines measures the splines in your open scene and writes NAME.splineforge-check.txt next to the passport: - every knot against the place Blender's plan puts it (0.01 mm, plus what Unity's float32 positions can hold far from the origin), and the place against the markers; - Unity's spline against Blender's curve at Blender's own points along it and halfway between them: the point (shape, against your budget in mm) and the up vector (roll, against your budget in degrees); - the number of knots, open or closed, switched on, and the radius at Blender's points. Check is OK only when all of them pass. Without the Splines package, the menu says how to add it.
How the curve is carried
- Unity Splines are cubic Bezier curves, like Blender's Bezier splines: the knots and handles go across exactly. Poly splines, and Bezier pieces with Vector handles at both ends, become straight pieces; at a bend Blender turns its frame halfway, so a bend gets two knots 1 mm apart like a corner (below). NURBS splines are fitted with Bezier pieces until every point of Blender's curve lies within the shape budget; SplineForge reads a NURBS four times denser than Blender draws it, and Check judges it at all those points (not halfway between them). With Smooth above 0 the roll is the one Blender draws, at the points it draws.
- Blender turns the curve's frame with its tilt and twist method (Minimum, Z-Up, Tangent); Unity turns its up vector its own way between knots. SplineForge turns each knot to Blender's frame, predicts Unity's up between the knots, and adds knots (at Blender's own points) where it would turn further than the roll budget.
- At a corner (a knot whose handles are out of line) Blender turns its frame halfway at the corner point. Unity keeps one up per knot, so a corner gets two knots 1 mm apart on the curve: one ends the arriving side, the other starts the leaving side. The corner point itself, and half a drawn step on each side of it, are not judged (on a straight piece only the corner point). At the open end of a spline whose two handles are out of line Blender bends its frame towards the unused handle: the end point and half a drawn step are not judged, and Scan says so.
- Blender draws a curve as straight steps (Resolution U): on a sharp bend the drawing lies away from the curve itself (Scan names how far). Unity draws the curve itself; SplineForge carries the curve, not the drawing.
Limits
- The curve itself is carried: modifiers on the curve object, bevel and extrusion geometry, and Geometry Nodes output stay in Blender (export them as meshes if you need them).
- NURBS: the radius is not carried; weights other than 1 are carried through the fit.
- A curve with shape keys is not carried, and named (apply or remove them, or use a copy). Two points in one place become one knot.
- Where Blender turns its frame very fast (on our test figure eight, 16 degrees in one drawn step), or at the open end of a spline whose end handles are folded, Unity cannot follow within a tight roll budget (1.21 and 1.47 degrees on our test curves against 0.5): Scan says so before you export, and Check fails there. Raise the roll budget, raise Resolution U, or add points in Blender.
- Scan and Export of a very long curve take a moment (a Poly spline of 1000 points: about 2 seconds on our Mac).
- Exporting again under the same Name replaces that export; if it was made from another .blend file (or an unsaved one), SplineForge says so (two scenes whose curves share a name, both "BezierCurve" say, need two Names).
- Surface curves and text are not curves for SplineForge.
Uninstall
In Blender: Edit > Preferences > Add-ons, SplineForge, Remove. In Unity: delete the SplineForge script folder and, if you no longer need them, the exported folders.
Licenses
The Blender add-on is GPL (LICENSE.txt). The Unity scripts (Editor/SplineForgeSetup.cs and Editor/NoSplines/SplineForgeNoSplines.cs) are MIT (LICENSE-SplineForge-Unity.txt): you may ship them in your games, closed source or not. They contain no Blender source code.