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

Background is flashing white on main branch #11613

Open
miketwenty1 opened this issue Jan 30, 2024 · 8 comments
Open

Background is flashing white on main branch #11613

miketwenty1 opened this issue Jan 30, 2024 · 8 comments
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior

Comments

@miketwenty1
Copy link

miketwenty1 commented Jan 30, 2024

Bevy version

  • Main Branch: fb124c3
  • Macbook Pro M1 chip WASM Target
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36

I noticed recently the background bevy canvas space is a dark black color instead of the usual dark grey. This coincided with the background also now flashes sometimes randomly.

Edit:

@miketwenty1 miketwenty1 added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Jan 30, 2024
@alice-i-cecile alice-i-cecile added A-Rendering Drawing game state to the screen and removed S-Needs-Triage This issue needs to be labelled labels Jan 30, 2024
@alice-i-cecile
Copy link
Member

Are you able to bisect this?

@alice-i-cecile alice-i-cecile added this to the 0.13 milestone Jan 30, 2024
@mockersf
Copy link
Member

Are you able to reproduce on the examples in the repo? Do you have code to share?

@miketwenty1
Copy link
Author

miketwenty1 commented Jan 31, 2024

@mockersf @alice-i-cecile

After a lot of bad/good commit testing.

I found 35ac1b1
Is the cause of my pain.

WIth this commit the default background goes black, and will flash randomly for me.

@mockersf
Copy link
Member

I can't reproduce using Bevy examples, do you have code to reproduce? Which browser are you using? Is it happening on all of them?

@JMS55
Copy link
Contributor

JMS55 commented Feb 1, 2024

Seems related? #5426

@miketwenty1
Copy link
Author

miketwenty1 commented Feb 1, 2024

Edit: nvm.. I think this is more complicated still trying to get the issue and fix reproducible. Thought it was a camera spawn issue but it may not be.

@miketwenty1
Copy link
Author

Realized this seems to be a Brave Browser issue.
@mockersf I put example code here that can reproduce the issue on brave browser: https://github.com/miketwenty1/wonder12/tree/fix-flash

I'm wondering if I'm doing something wrong even though it seems other browsers are able to handle rendering correctly.
fwiw, I've been using brave browser since version 0.5 of bevy without seeing inconsistencies between it and chrome.

Otherwise seems I'm going to need to switch to chrome I guess.
Tried running Brave latest didn't help. Release Notes v1.62.156 (Jan 31, 2024)

@miketwenty1
Copy link
Author

miketwenty1 commented Feb 1, 2024

Seems related? #5426

It's definitely the same behavior to what I'm seeing based off the video. #5426 (comment)

But the simple examples don't cause issues with Brave.

@alice-i-cecile alice-i-cecile removed this from the 0.13 milestone Feb 2, 2024
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
Projects
None yet
Development

No branches or pull requests

4 participants