Terasology icon indicating copy to clipboard operation
Terasology copied to clipboard

[macOS Sonoma] Crash "No context is current or a function that is not available in the current context was called"

Open a-ivanov opened this issue 9 months ago • 3 comments

General Info

Terasology Launcher Version: Launching from IDE Terasology Version: develop branch (commit 33dabf53cc675c33a2c33c193b7ec4aa1cc0174b) Operating System: macOS Sonoma 14.4.1 Onboard / Dedicated Graphics: Intel UHD Graphics 630 (x86_64) Java Version: Liberica JDK 17.0.6

What you were trying to do

Launched app from IntelliJ Idea with game (gradle) configuration and created a new Singleplayer game.

What actually happened

Game crashed. Tried TerasologyPC for Mac configuration with no success. The same commit runs smoothly on Windows 10 though.

How to reproduce

  1. Select Terasology version commit 33dabf53cc675c33a2c33c193b7ec4aa1cc0174b
  2. Start Terasology with game (gradle) (or TerasologyPC for Mac)
  3. Select gameplay 'Singleplayer'
  4. Add modules 'CoreSampleGameplay'
  5. Start game
  6. See error

Log details

...
09:33:01.804 [main] INFO  o.t.e.r.dag.RenderTaskListGenerator - ----- OutputToScreenNode
09:33:01.804 [main] INFO  o.t.e.r.dag.RenderTaskListGenerator -                 EnableMaterial: CoreRendering:outputPass
09:33:01.804 [main] INFO  o.t.e.r.dag.RenderTaskListGenerator -         SetInputTextureFromFbo: slot 0, fbo engine:fbo.finalBuffer (fboId: 3), textureType ColorTexture, material CoreRendering:outputPass, parameter 'target'
09:33:01.804 [main] INFO  o.t.e.r.dag.RenderTaskListGenerator - CoreRendering:outputToScreenNode (OutputToScreenNode): process()
FATAL ERROR in native method: Thread[main,10,main]: No context is current or a function that is not available in the current context was called. The JVM will abort execution.
	at org.lwjgl.opengl.EXTFramebufferObject.glBindFramebufferEXT(Native Method)
	at org.terasology.engine.rendering.dag.stateChanges.BindFbo.process(BindFbo.java:62)
...

a-ivanov avatar May 03 '24 06:05 a-ivanov