• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

djeedai / bevy_hanabi / 14554380573
66%

Build:
DEFAULT BRANCH: main
Ran 20 Apr 2025 12:51AM UTC
Jobs 1
Files 29
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Apr 2025 12:45AM UTC coverage: 39.388% (-0.04%) from 39.429%
14554380573

push

github

web-flow
Try reextracting next frame if an effect isn't loaded

Hanabi uses the `Added<CompiledEffect>` query filter in order to
determine when particle effects should be added to the `added_effects`
table. But, if the particle effect asset isn't loaded at the time that
query runs, Hanabi will skip adding the particle effect to that table.
Because the `Added<CompiledEffect>` query filter will only match
particle effects once, once the particle effect asset finally loads,
it's too late to add it to the `added_effects` list. Thus it will never
show up.

This patch fixes the issue by adding effects that are newly added but
not yet fully loaded to a `pending_effects` list. The `added_effects`
loop is modified to not only take into account effects that match the
`Added<CompiledEffect>` filter but also effects in the `pending_effects`
list. Effectively, that means if a particle effect isn't loaded yet, we
poll it on subsequent frames until it finally is loaded before adding it
to `added_effects`. This pattern is the same one used in many places in
the Bevy renderer.

0 of 6 new or added lines in 1 file covered. (0.0%)

3 existing lines in 1 file now uncovered.

3027 of 7685 relevant lines covered (39.39%)

17.43 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
3.54
-0.01% src/render/mod.rs

Uncovered Existing Lines

Lines Coverage ∆ File
3
3.54
-0.01% src/render/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 14554380573.1 20 Apr 2025 12:51AM UTC 29
39.39
GitHub Action Run
Source Files on build 14554380573
  • Tree
  • List 29
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 96593455 on github
  • Prev Build on main (#14525866485)
  • Next Build on main (#14578296881)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc