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

Opening in cellphone chrome Error in Global Error Trapper #789

Open
marirene12 opened this issue Oct 30, 2023 · 2 comments
Open

Opening in cellphone chrome Error in Global Error Trapper #789

marirene12 opened this issue Oct 30, 2023 · 2 comments
Assignees
Labels

Comments

@marirene12
Copy link

User Description

Type what you were trying to do here...

Error Title

Error

Error Message

Vertex shader compilation failed:

Stack

Error: Vertex shader compilation failed:
at i.createVertexShader (https://www.keeptrack.space/app/js/main.bf8218c52edfa9a994cc.js:708:97363)
at i.createProgramFromCode (https://www.keeptrack.space/app/js/main.bf8218c52edfa9a994cc.js:708:93502)
at Se.initGodraysProgram_ (https://www.keeptrack.space/app/js/main.bf8218c52edfa9a994cc.js:1340:2420)
at Se.initGodrays (https://www.keeptrack.space/app/js/main.bf8218c52edfa9a994cc.js:1340:1750)
at Ae.resizePostProcessingTexture (https://www.keeptrack.space/app/js/main.bf8218c52edfa9a994cc.js:1340:18024)
at Ae.drawOptionalScenery (https://www.keeptrack.space/app/js/main.bf8218c52edfa9a994cc.js:1340:9450)
at Ae.draw (https://www.keeptrack.space/app/js/main.bf8218c52edfa9a994cc.js:1340:9083)
at Ye.draw_ (https://www.keeptrack.space/app/js/main.bf8218c52edfa9a994cc.js:1444:2984)
at Ye.gameLoop (https://www.keeptrack.space/app/js/main.bf8218c52edfa9a994cc.js:1391:15812)

@thkruz
Copy link
Owner

thkruz commented Nov 1, 2023

Can you provide any information about what type of phone you are using?

I suspect there is an issue with WebGL 2.0 since the godrays shader is the only one that draws to anything other than the canvas. The other thing to try is running:

https://www.keeptrack.space/app/?preset=ops-center

This mode disable the sun (and godrays). That would provide more clear evidence the issue is with the sun. Long term I'd love to have something that detects this issue and auto-disables the sun, but in the short term I could add a flag you can set to only skip the sun and leave everything else as default.

@thkruz
Copy link
Owner

thkruz commented Nov 2, 2023

I was able to recreate it on accident on my desktop computer, but am having trouble getting it to repeat itself reliably. It appears to be some kind of race condition. So far I have only gotten it when loading an external TLE - I suspect it is launching some code before the TLEs are finished downloading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants