Skip to main content

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

Game crashes when launched from Itch app but not from install dir

A topic by Tanys Foster created Jun 13, 2023 Views: 128
Viewing posts 1 to 1

First project, first upload to Itch!

This afternoon I uploaded my project files to Itch via Butler command line. I downloaded & installed my game via Itch app. When I clicked the button to launch the game from Itch, the game opened and crashed within ~3 seconds. I opened up the install directory and double-clicked the exe file, and it ran just fine.

I wrote my game & engine in Java, using the libgdx framework. I built it using Gradle and the "Badass Runtime" plugin. The game runs without issue from my IDE (Eclipse), from the command line (i.e. java -jar) before deployment, and from the CLI or directory (i.e. double-click exe file) after deployment. The only issue seems to be launching from the Itch app, though it logs no errors in the console.

I am mystified - I have no idea how to debug the launch from the Itch app.

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.