Skip to content Skip to sidebar Skip to footer

Textureatlas Issue With Libgdx

I keep getting null pointer exceptions when I try and use TextureAtlass with this libgdx project. game.atlas and game.png are under android/assets game.png size: 1024,1024 format:

Solution 1:

How are you running your project? If it's from within an IDE on the desktop, have you remembered to set the current working directory to be android/assets?

If not, then it won't find game.atlas which could cause the issue you see.

Appologies for posting this as an answer btw - I don't have enough reputation to post it as a comment.

Post a Comment for "Textureatlas Issue With Libgdx"