Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I've been having this error while im playing, causing the game to close:

com.badlogic.gdx.utils.GdxRuntimeException: com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load dependencies of asset: backgrounds/GameTypeSelect.png

    at com.badlogic.gdx.assets.AssetManager.handleTaskError(AssetManager.java:636)

    at com.badlogic.gdx.assets.AssetManager.update(AssetManager.java:411)

    at com.badlogic.gdx.assets.AssetManager.update(AssetManager.java:423)

    at com.majalis.screens.LoadScreen.render(LoadScreen.java:51)

    at com.badlogic.gdx.Game.render(Game.java:46)

    at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:233)

    at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:128)

Caused by: com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load dependencies of asset: backgrounds/GameTypeSelect.png

    at com.badlogic.gdx.assets.AssetLoadingTask.handleAsyncLoader(AssetLoadingTask.java:121)

    at com.badlogic.gdx.assets.AssetLoadingTask.update(AssetLoadingTask.java:90)

    at com.badlogic.gdx.assets.AssetManager.updateTask(AssetManager.java:561)

    at com.badlogic.gdx.assets.AssetManager.update(AssetManager.java:409)

    ... 5 more

Caused by: com.badlogic.gdx.utils.GdxRuntimeException: com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: backgrounds/GameTypeSelect.png

    at com.badlogic.gdx.utils.async.AsyncResult.get(AsyncResult.java:46)

    at com.badlogic.gdx.assets.AssetLoadingTask.handleAsyncLoader(AssetLoadingTask.java:119)

    ... 8 more

Caused by: com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: backgrounds/GameTypeSelect.png

    at com.badlogic.gdx.graphics.Pixmap.<init>(Pixmap.java:144)

    at com.badlogic.gdx.graphics.TextureData$Factory.loadFromFile(TextureData.java:98)

    at com.badlogic.gdx.assets.loaders.TextureLoader.loadAsync(TextureLoader.java:62)

    at com.badlogic.gdx.assets.loaders.TextureLoader.loadAsync(TextureLoader.java:35)

    at com.badlogic.gdx.assets.AssetLoadingTask.call(AssetLoadingTask.java:70)

    at com.badlogic.gdx.assets.AssetLoadingTask.call(AssetLoadingTask.java:34)

    at com.badlogic.gdx.utils.async.AsyncExecutor$2.call(AsyncExecutor.java:64)

    at java.util.concurrent.FutureTask.run(FutureTask.java:266)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

    at java.lang.Thread.run(Thread.java:745)

Caused by: java.io.IOException: Error loading pixmap: decoder init failed for stream

    at com.badlogic.gdx.graphics.g2d.Gdx2DPixmap.<init>(Gdx2DPixmap.java:85)

    at com.badlogic.gdx.graphics.Pixmap.<init>(Pixmap.java:142)

    ... 10 more