bevyengine / bevyengine/bevy

`.gltf` files' `.bin` dependencies aren't copied into `imported_assets`

Open
#14,190 1 comment 2 reactions 0 assignees View on GitHub
A-glTF C-Bug I-Regression S-Ready-For-Implementation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## Bevy version

0.14.0

## What you did

Tried to load a `.gltf` file with a `.bin` dependency with preprocessing enabled

## What went wrong

Its `.bin` file wasn't copied into `imported_assets`, so the scene doesn't appear. No errors or warnings.

## Additional information

Here's a minimal repro of it working in 0.13: https://github.com/Seldom-SE/testetst/blob/29eeb4d6c5210cf6f9c0b035979281f308e81846/src/main.rs

And here's a minimal repro of the bug in 0.14: https://github.com/Seldom-SE/testetst/blob/1d591976b13f3f4517a787fe5863bffe3ea9bf5a/src/main.rs

And here's the diff between the two: https://github.com/Seldom-SE/testetst/commit/1d591976b13f3f4517a787fe5863bffe3ea9bf5a

Contributor guide

Open the contributing guide

Research direction

Start by comparing the linked 0.13 and 0.14 minimal repros and tracing the asset preprocessing path that handles the .gltf file. Done means the dependent .bin file is copied into imported_assets and the scene loads without errors or warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.