I am preloading a resource in multiple nodes. However, when I use the same code in the Main node (top-most node in the scene), I receive Parse error: Could not preload resource file.
The code:
@export var turn: Turn = preload("res://Common/Turn.tres")
If I remove that code from main.gd, then everything works again. However, that same code works if I put it in another node.
Can anyone help?