bevyengine / bevyengine/bevy

Can't deserialize scene

Open
#9,947 2 comments 0 reactions 0 assignees View on GitHub
A-Scenes C-Bug
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## Bevy version

0.11.2 & 0.11.3

## What you did

I have serialized a dynamic scene and now I try to desrialize it

## What went wrong

I hope there to be entities loaded in preferably with sprites but the world is empty whcih i verify by serializing the scene again

## Additional information

The warning I get is ```2023-09-28T07:36:55.657629Z WARN bevy_asset::asset_server: encountered an error while loading an asset: no registration found for type `core::option::Option` at scenes/scene.scn:52:22```

The part from `scenes/scene.scn` the warning is referencing
![Skärmbild 2023-09-28 094751](https://github.com/bevyengine/bevy/assets/5951768/d2b49ac0-9c96-4a00-9e7a-08784228fabd)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the dynamic-scene serialization and deserialization flow on Bevy 0.11.2 or 0.11.3, using scenes/scene.scn and the warning at line 52. Check how the asset server handles the reported unregistered Option type. Done means the scene loads its entities and sprites, the deserialized world is non-empty, and the warning no longer occurs.

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
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.