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

Can't open the game after we close the game from taskbar when the game is minimized #4596

Closed
mahela97 opened this issue Mar 23, 2021 · 1 comment
Labels
Type: Bug Issues reporting and PRs fixing problems
Milestone

Comments

@mahela97
Copy link
Contributor

What you were trying to do

The game crashed after the splash screen.

What actually happened

I try to run the game as usual and it gave this exception. The reason for this exception is "windowWidth", "windowHeight" Values in config.cfg(In root directory) is set to 0(zero) after we close the game from the taskbar when the game is minimized.

java.lang.RuntimeException: Failed to create window
at org.terasology.engine.core.subsystem.lwjgl.LwjglGraphics.initWindow(LwjglGraphics.java:152)
at org.terasology.engine.core.subsystem.lwjgl.LwjglGraphics.postInitialise(LwjglGraphics.java:78)
at org.terasology.engine.core.TerasologyEngine.postInitSubsystems(TerasologyEngine.java:295)
at org.terasology.engine.core.TerasologyEngine.initialize(TerasologyEngine.java:225)
at org.terasology.engine.core.TerasologyEngine.initializeRun(TerasologyEngine.java:408)
at org.terasology.engine.core.TerasologyEngine.run(TerasologyEngine.java:399)
at org.terasology.engine.Terasology.main(Terasology.java:179)
For more details, see the log files in D:\My works\Terasology\logs\2021-03-23_16-09-36

How to reproduce

  • Step 1
    Open the game as usual.
  • Step 2
    Minimize the game and close the game from the preview in the taskbar. Do not maximize again.
  • Step 3
    Run the game again and it will crash after the splash screen.

Computer details

Asus tuf 504, Running on windows 10

@Cervator
Copy link
Member

Fixed by #4619

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issues reporting and PRs fixing problems
Projects
None yet
Development

No branches or pull requests

3 participants