com.badlogic.gdx.utils.GdxRuntimeException

Couldn't load file: tileset 2/grass-tiles-2-small.png

Solutions on the web448

  • via Stack Overflow by user3810115
    , 11 months ago
    Couldn't load file: tileset 2/grass-tiles-2-small.png
  • Couldn't load file: numbers/2.png
  • via Game Development by KaptnKrunch
    , 9 months ago
    Couldn't load file: tiles.png
  • Stack trace

    • com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: tileset 2/grass-tiles-2-small.png at com.badlogic.gdx.graphics.Pixmap.<init>(Pixmap.java:140) at com.badlogic.gdx.graphics.glutils.FileTextureData.prepare(FileTextureData.java:64) at com.badlogic.gdx.graphics.Texture.load(Texture.java:130) at com.badlogic.gdx.graphics.Texture.<init>(Texture.java:121) at com.badlogic.gdx.graphics.Texture.<init>(Texture.java:100) at com.badlogic.gdx.graphics.Texture.<init>(Texture.java:96) at com.badlogic.gdx.maps.tiled.TmxMapLoader.load(TmxMapLoader.java:116) at com.badlogic.gdx.maps.tiled.TmxMapLoader.load(TmxMapLoader.java:101) at com.mygdx.game.MyGdxGame.create(MyGdxGame.java:43) at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:136) at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:114) Caused by: com.badlogic.gdx.utils.GdxRuntimeException: File not found: tileset 2/grass-tiles-2-small.png (Internal) at com.badlogic.gdx.files.FileHandle.read(FileHandle.java:136) at com.badlogic.gdx.files.FileHandle.readBytes(FileHandle.java:220) at com.badlogic.gdx.graphics.Pixmap.<init>(Pixmap.java:137)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    6 more bugmates