Missing texture (?) in release bundle

Hello, I am trying to bundle my project for release, but one sprite in gui screen seems to no working properly:

In the engine and in the debug bundle it looks, as it should:

What am I doing wrong? I met such problems when I was trying to access, for example, flipbook animation with wrong name, but it was never exclusive for release bundle

Is it a gui box node or a sprite? How are you setting the image? In the editor or from code? If you do it from code, could you please share the code you use?

It is a gui box node.
I set flipbook by name (hash. converted into string):

gui.play_flipbook(gui.get_node("KanjiForm"), self.kanjiName.."")

In this case, name of the flipbook is “[1]”. I set kanjiName as a property (hash) of game object, which opens this gui screen, giving kanjiName to gui_script. This allows me to set different flipbooks from game objects (they have different kanjiName values)

Coverting a hash to a string is only supported in debug mode and only used for debug reasons.
You shouldn’t rely on hash-to-string conversion for gameplay functionality.

2 Likes

Okay, thank you. I will come up with a different solution