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

djeedai / bevy_hanabi / 14554380573 / 1
66%
main: 66%

Build:
DEFAULT BRANCH: main
Ran 20 Apr 2025 12:51AM UTC
Files 29
Run time 1s
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.1

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.

3027 of 7685 relevant lines covered (39.39%)

17.43 hits per line

Source Files on job 14554380573.1
  • Tree
  • List 29
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14554380573
  • 96593455 on github
  • Prev Job for on main (#14525866485.1)
  • Next Job for on main (#14578296881.1)
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