Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't crash without features bevy_pbr, ktx2, zstd #14020

Merged

Conversation

mockersf
Copy link
Member

Objective

Solution

  • add a new feature smaa_luts. if enables, it also enables ktx2 and zstd. if not, it doesn't load the files but use placeholders instead
  • adds all the resources needed in the same places that system that uses them are added.

@mockersf mockersf added the A-Rendering Drawing game state to the screen label Jun 25, 2024
@mockersf mockersf added this to the 0.14 milestone Jun 25, 2024
@alice-i-cecile alice-i-cecile added C-Bug An unexpected or incorrect behavior S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jun 25, 2024
Copy link
Contributor

@jgayfer jgayfer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested against bevy_light_2d and confirmed that it fixes the need to include ktx2, zstd, and bevy_pbr.

Code wise it looks reasonable, though I'm not familiar with what is being put behind the new feature flag.

@alice-i-cecile alice-i-cecile added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jun 26, 2024
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Jun 26, 2024
Merged via the queue into bevyengine:main with commit 19d078c Jun 26, 2024
34 checks passed
mockersf added a commit that referenced this pull request Jun 26, 2024
# Objective

- Fixes #13728 

## Solution

- add a new feature `smaa_luts`. if enables, it also enables `ktx2` and
`zstd`. if not, it doesn't load the files but use placeholders instead
- adds all the resources needed in the same places that system that uses
them are added.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In 0.14.0-rc.2, minimal app with bevy_core_pipeline crashes without ktx2, zstd, and bevy_pbr
3 participants