The Editor's Preview window shows nothing

Bugs Desciptions :
After Creating a workspace, the Preview part shows nothing (just blank);
Additional information :
When I hit run button in the topleft, still nothing in the Play window;

Here is my enviroument :
1, Windows 10 20H2 19042.985
2, NodeJS and TypeScript installed
3, BabylonJS Editor’s version : 4.0.0-RC.3, download from Babylon.JS Editor (babylonjs.com)

Steps to Reproduce :
1, Open Editor, Create a new workspace, select one of the default templates, here I choose the TPS template;
2, Wait for the project’s asset loading progress (during the loading progress, the Editor will twinkle once, before the twinkling I still can see the preview window shows the objects, but after there shows nothing);
3, And that’s it, below is the View:

Here is the Logs in the Console :
[INFO]: Console ready.

[INFO]: Loading Project

[INFO]: Parsed mesh “ground-42d0385d-4fb7-409c-a26e-0cbf406a4ccd.json”

[INFO]: Parsed mesh “sky-18b3d26b-05ed-494e-b908-9d795df06ff5.json”

[INFO]: Parsed mesh “cube-287f4884-bbf3-4c14-969b-83371249634d.json”

[INFO]: Parsed physics impostor for mesh “ground”

[INFO]: Parsed physics impostor for mesh “sky”

[INFO]: Parsed physics impostor for mesh “cube”

[INFO]: Parsed physics impostor for instance “cube (Mesh Instance)” of mesh “cube”

[INFO]: Parsed physics impostor for instance “cube (Mesh Instance)” of mesh “cube”

[INFO]: Parsed physics impostor for instance “cube (Mesh Instance)” of mesh “cube”

[INFO]: Parsed physics impostor for instance “cube (Mesh Instance)” of mesh “cube”

[INFO]: Parsed physics impostor for instance “cube (Mesh Instance)” of mesh “cube”

[INFO]: Parsed mesh “player-f57b49d3-e402-417c-9f93-0e1271df67a5.json”

[INFO]: Parsed physics impostor for mesh “player”

[INFO]: Parsed material “sky-604ce754-eb69-4218-8c0f-a7d4354f721b.json”

[INFO]: Parsed material “obstacle-c6b937fd-8d4f-4b1a-a395-2c8d7901a322.json”

[INFO]: Parsed material “player-body-f699815b-e046-41ed-8b7c-d1f685e5a346.json”

[INFO]: Parsed material “ground-bc1e481c-81cf-4866-a090-0ec72b99116e.json”

[INFO]: Parsed material “player-joints-25a1d8c4-b586-4c63-a54b-dea811a77806.json”

[INFO]: Parsed material “player-a5e2686f-ef6f-41be-956a-17fd6b49c8cb.json”

[INFO]: Parsed texture “EnvironmentBRDFTexture-94.json”

[INFO]: Parsed texture “EnvironmentBRDFTexture-280.json”

[INFO]: Parsed light “sun-1ec7dcec-2a97-4bdc-9883-014f10a29bca.json”

[INFO]: Parsed shadows for light “sun-1ec7dcec-2a97-4bdc-9883-014f10a29bca.json”

[INFO]: Parsed camera “playerCamera-0ef271c0-0f5f-4ad0-b681-20821bc03e36.json”

Welcome aboard!

Adding @julien-moreau.

Hi @liekong1991 !!

Thanks for reporting!
It looks like you have problems running WebGL 2 as it looks like the following issue: Editor Preview is blank · Issue #278 · BabylonJS/Editor · GitHub

Something weird is that I don’t see any log about context lost. Can you open the preferences (main toolbar → edit → preferences) and enable dev tools in the editor’s section ? This will open the Chromium devtools. Can you share the error messages you have in the console please? This would help a lot

Thanks !!

In fact, I also encountered this error(WebGL Context Lost) when I opened the editor for the first time. Now I use the workaround in this Editor Preview is blank · Issue #278 · BabylonJS/Editor (github.com) to solve this problem, but I hope that the GPU can be automatically recognized in the future.

Thanks for solving the problem
I’m checking if Electron has features to automatically register the application as high performance. Else, I’ll have to write some documentation to solve the problem :frowning: