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

White flash on startup #108

Open
gianmichelemariani opened this issue Oct 9, 2019 · 7 comments
Open

White flash on startup #108

gianmichelemariani opened this issue Oct 9, 2019 · 7 comments
Labels
moreinfo More info is needed to triage this issue

Comments

@gianmichelemariani
Copy link

I've found that on startup of the application I get a white flash for 4-5 frames when using Defos that doesn't happen on vanilla Defold.

Is this something that can be fixed/worked around or is part of the loading process?

@subsoap
Copy link
Owner

subsoap commented Oct 9, 2019

It would be worth making an issue https://github.com/defold/editor2-issues/issues here about this. I assume on their vanilla engine they have the clear color set to black, but in the extended version it's set to white.

@gianmichelemariani
Copy link
Author

gianmichelemariani commented Oct 9, 2019

Yep, will do.
Will have to check first if with other native extensions it happens as well.

Thanks!

@britzl
Copy link
Collaborator

britzl commented Jan 24, 2021

I assume on their vanilla engine they have the clear color set to black, but in the extended version it's set to white.

I don't think this is true anymore (or if it ever was). We did however make a change maybe half a year ago where the engine sets the clear color earlier during initialization than it did before.

Note that I can't recall seeing a white flash on startup in projects using DefOS though). @gianmichelemariani are you still experiencing this problem? Which OS?

@britzl britzl added the moreinfo More info is needed to triage this issue label Jan 24, 2021
@gianmichelemariani
Copy link
Author

Let me check again. I haven't used defos in a while :)

@gianmichelemariani
Copy link
Author

Apology for the delay.
I've tested this, without defos and with all the latest launchscreen storyboard, etc. Version is 1.2.181 beta (but I think it happens in other version too) and it's a debug build.

What is happening here is that on launch of the application, the storyboard part is shows (I have just a white background), then there is a flash to black, and then the render kicks in (I have a clear background color to white and a logo animated).

I'm attaching a video for reference. You'll need to go through it frame by frame to see it (quicktime is good).

defold_flash.mov

What might be causing this?

@subsoap
Copy link
Owner

subsoap commented Mar 23, 2021

@gianmichelemariani Do you have any other native extensions enabled?

@gianmichelemariani
Copy link
Author

Just these 2

Screenshot 2021-03-23 at 17 09 05

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
moreinfo More info is needed to triage this issue
Projects
None yet
Development

No branches or pull requests

3 participants