bevyengine / bevyengine/bevy

Asset loading doesn't update correctly when using `WinitSettings::desktop_app()`

Open
#5,844 5 comments 1 reaction 0 assignees View on GitHub
A-Assets C-Bug
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Bevy version

0.8.1

## What you did

Ran the ui example and didn't touch the mouse when it started up

## What went wrong

The bevy logo doesn't show up instantly. It only appears when you move the mouse.

## Additional information

This is caused by the use of `WinitSettings::desktop_app()` in this example. Essentially, the issue is that it makes it only update when it detects user input or every 5 seconds. This means the asset_server doesn't update for the first 5 seconds and any asset that wasn't instantly loaded won't display until the first user input is detected.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.