Skip to content

Kingy / AI Fix Finder

← All fixes

Blender GLB export includes an extra default Cube

Check this fix ↓

Selected Objects alone retained a second scene in the starter spacecraft GLB. Adding Active Scene exported only the 14 spacecraft meshes.

kingy tested

Tested repair · Blender glTF exporter · Blender 5.2.1 LTS, build 9e2066aef7ef; original starter script SHA-256 11fee75acf5b9 (full hash in evidence ZIP)

Check this fix

Applies when
The exported GLB contains a second scene named Scene and an unwanted object named Cube, although the intended spacecraft is in Kingy_spacecraft.
Change to inspect
Keep Selected Objects enabled and enable Active Scene under the glTF exporter Include settings. In Python, use use_selection=True together with use_active_scene=True.
Expected result
With only Active Scene changed, the export contained one scene and 14 meshes. A fresh reimport measured 4,936 triangles and four materials. The original .blend hash was unchanged.
If it still fails
Keep the original failed output and check the conditions and verification steps below. Retained failed attempt: A fresh export with Selected Objects enabled but Active Scene disabled contained two scenes and 15 meshes, including Cube.

Tested or reviewed 2026-09-21. Verify the original task on your own version and settings; this case does not prove a universal fix.

Read the verification steps ↓ · Report your outcome ↓

What happened

Symptom

The exported GLB contains a second scene named Scene and an unwanted object named Cube, although the intended spacecraft is in Kingy_spacecraft.

Exact environment and tested conditions

Original spacecraft_v001.blend with Kingy_spacecraft active and the default Scene still present.

The 14 spacecraft mesh objects are selected; the studio floor is excluded.

glTF export uses Selected Objects with Active Scene disabled.

Correction

Keep Selected Objects enabled and enable Active Scene under the glTF exporter Include settings. In Python, use use_selection=True together with use_active_scene=True.

Result

With only Active Scene changed, the export contained one scene and 14 meshes. A fresh reimport measured 4,936 triangles and four materials. The original .blend hash was unchanged.

What did not work

A fresh export with Selected Objects enabled but Active Scene disabled contained two scenes and 15 meshes, including Cube.

  1. Open the original spacecraft_v001.blend and select Kingy_spacecraft as the active scene.
  2. Select the spacecraft meshes and exclude Studio floor, the camera and lights. The retained starter has 14 craft meshes.
  3. Choose File > Export > glTF 2.0 and GLB format. Under Include, enable Selected Objects and Active Scene. Export to a new filename.
  4. For a script export, add use_active_scene=True to the existing bpy.ops.export_scene.gltf call while retaining use_selection=True. Test a separate output before changing a working script.
  5. Import the new GLB into an empty Blender file. For this exact starter, verify one exported scene and 14 imported mesh objects, with no object named Cube.
  6. Fallback: if selection or scene ownership is unclear, keep the original .blend and GLB, inspect the Outliner and test an isolated copy of the intended scene before exporting again. Do not delete an unfamiliar scene from the only working file.
Sources & limits

Kingy.ai Blender guide and original editable starter package

Blender 5.2 glTF export API: selection and active scene

September 21 Fix Finder reproduction scripts and results (ZIP)

Record checked 2026-09-21.

Tested with the original Kingy spacecraft starter and Blender 5.2.1 LTS. Other files may contain intentional scenes that should be retained.

Some viewers use only the default glTF scene; the extra Cube may appear only in applications that import every scene. This is an export-content mismatch, with no exporter exception.

The original downloadable starter package remains unchanged. This test creates a separate corrected GLB; it does not replace or certify a game-engine asset.

This still happens?

Send the smallest example that reproduces it. Use a public, non-sensitive example; leave out account details, keys and private files.

Help improve this tool

Did this repair work for you?

About AI Fix Finder. Your self-reported outcome goes to Kingy’s private review queue; it is not an independently verified reproduction.

Your experience with AI Fix Finder
What happened?