bruvzg / gdsdecomp

Godot reverse engineering tools
MIT License
1.34k stars 134 forks source link

@export annotations to nodes/arrays in Godot 4.1.1 game (Buckshot Roulette) export do not work correctly #158

Closed zUltimaPG3D closed 5 months ago

zUltimaPG3D commented 6 months ago

System information

Linux Mint 21.1 (Vera)

Issue description

Opening the output project in the Godot version given by the program (or an even newer one, same issue anyways), which is Godot 4.1.1, at first glance nothing is wrong, yet all references to nodes in @exported variables (and only some arrays) are "incorrect" and the engine thinks of them as Nil unless they're reselected manually (or every item is put in manually, in the case of arrays).

Steps to reproduce

Recovery log

gdre_export.log

Minimal reproduction project

Game I attempted this on: https://mikeklubnika.itch.io/buckshot-roulette

zUltimaPG3D commented 6 months ago

Found the issue for the node references, for some reason the node_paths property isn't set in the .tscn file and resetting the values in the editor puts them there. Still don't know why the arrays don't export sometimes.