Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

labels show <null> instead of string

A topic by pixeltokens created Mar 03, 2024 Views: 74 Replies: 1
Viewing posts 1 to 2

Hey everyone. I made a game in Godot4 and it works fine in Godot4. However, when I uploaded the game to itch, some labels appear as <null> when they update. I update those labels by having text = 'You\n' + str(globals.score). what's more weird is that I have an almost identical label that works fine: text = 'Coins\n' + str(globals.coins). Both globals.coins and globals.score are integers.

Any clue of on how to fix this will be greatly appreciated.

update: made an apk to run on android and the issue persists.

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