#ResourceLoader: Problem with Loading Scene `res://to/path/scene.tscn` when on RELEASEBUILD

4 messages · Page 1 of 1 (latest)

pastel ore
#

Hi, newbie here. In regards with the ResourceLoader. I'm using it to load a scene but my problem is that when on the release build, the scene that was supposed to be loaded isn't showing or loaded.

Here's the Loader script.
https://github.com/lazuee/godot-template/blob/main/src/autoloads/loader.gd

Here's how I use it to load a scene from the project folder.
https://github.com/lazuee/godot-template/blob/main/src/scenes/scripts/scenes.gd#L4

I'm trying to load a scene called game
Loader.request("res://src/scenes/game/game.tscn")

soft agate
#

you might need to uncheck "compress textual resources to binary" in project settings

#

editor/export/convert_text_resources_to_binary