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

Editor crash - "Error creating WebGL context" - Three.js #5956

Open
daddywookie opened this issue Nov 25, 2023 · 1 comment
Open

Editor crash - "Error creating WebGL context" - Three.js #5956

daddywookie opened this issue Nov 25, 2023 · 1 comment
Labels
💥crash Bug that is crashing the software

Comments

@daddywookie
Copy link

Describe what you were doing when the crash happened

  1. Left GDevelop open and idle for a couple of hours
  2. GameScene tab showed a black window instead of the required scene
  3. Other panels seem to work fine (e.g. manage to create a new sprite
  4. Closed project with web backup. Re-opened project and received this error

GDevelop version

5.3.181-ec1ebcbf5b57a4623f3ac4eb39a06a26398dc4bd

Platform info

System Version: 10.0.19045, Arch: x64, User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) GDevelop5/5.3.181 Chrome/100.0.4896.143 Electron/18.2.2 Safari/537.36, Platform: win32

Additional error context

uniqueErrorId: 82ff75d8-da42-4f8e-93fa-0e3fc20605d0

Error: Error creating WebGL context.
at new e (file:///C:/Users/daddy/AppData/Local/Programs/GDevelop/resources/app.asar/www/static/js/9821.f092a247.chunk.js:2:3034531)
at n.value (file:///C:/Users/daddy/AppData/Local/Programs/GDevelop/resources/app.asar/www/static/js/250.bfadc12b.chunk.js:1:1380587)
at n.value (file:///C:/Users/daddy/AppData/Local/Programs/GDevelop/resources/app.asar/www/static/js/250.bfadc12b.chunk.js:1:1380008)
at ds (file:///C:/Users/daddy/AppData/Local/Programs/GDevelop/resources/app.asar/www/static/js/main.9f9ceb3e.js:2:501156)
at Fu (file:///C:/Users...

Additional component context

in n
in t
in Unknown
in div
in div
in Unknown
in Measure
in zk
in ow
in div
in div
in t
in div
in t
in n
in ForwardRef
in div
in l
in n
in n
in t
in Unknown
in dM
in div
in n
in Ga
in div
in jO
in Unknown
in Ke
in f
in u
in v
in m
in j
in h
in h
in Z
in d
in X
in n
in t
in ge
in n
in We
in et
in t
in Unknown
in Unknown
in v
in pt
in t
in r
in n
in u
in l
in n
in Dr...
@ClementPasteau
Copy link
Collaborator

Same issue as #5941

It's an error being thrown by the WebGLRenderer of Three.js https://github.com/mrdoob/three.js/blob/8709cbf8fb4ed2719e60e73bce43752efde13b81/src/renderers/WebGLRenderer.js#L279

It happens when the WebGLRenderer is initialized with the canvas in the InstancesEditor: https://github.com/4ian/GDevelop/blob/master/newIDE/app/src/InstancesEditor/index.js#L178

Unfortunately no more details about the error.

@daddywookie Do you always see this error when opening the project now?
If so, are you able to download your project, zip it, and send it to hello@gdevelop.io so we can have a look?

@ClementPasteau ClementPasteau changed the title Crash while using an editor Editor crash - "Error creating WebGL context" - Three.js Nov 29, 2023
@ClementPasteau ClementPasteau added the 💥crash Bug that is crashing the software label Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💥crash Bug that is crashing the software
Projects
None yet
Development

No branches or pull requests

2 participants