Today I learned
Blender FBX: why are child objects rotated in Unity?
With Apply Transform (bake_space_transform=True) the Blender FBX exporter bakes the Z-up → Y-up conversion only into top-level objects. Anything parented under another object (a pane inside a door) arrives in Unity rotated and in the wrong place.
Fix: keep every object directly under the root, put the intended parent in the name, re-parent in Unity.
pane.parent = root
pane.name = "Pane_03__Door_A0" # parent travels in the name
// editor script, after unpacking the model prefab instance
foreach (var t in all) {
int cut = t.name.IndexOf("__");
if (cut < 0) continue;
var owner = all.FirstOrDefault(o => o.name == t.name.Substring(cut + 2));
t.name = t.name.Substring(0, cut);
if (owner != null) t.SetParent(owner, worldPositionStays: true);
}
I hit this generating vehicle models from Python in Blender. The glass was transparent, so nothing looked wrong; collider coordinates gave it away. The build now fails if a pane lands outside the vehicle.
Docs: Blender FBX export (Apply Transform is marked experimental).