File must be opened before use error in Windows desktop export

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By kirikubi


I created a game and exported it to Windows desktop EXE.
When I run the exe it is fine. Than I change the scene and I get endles

I have one file in the scene which I open

func loadWords():
var linie =
var plik =“res://slownik.txt”, File.READ);
while not plik.eof_reached():
return linie

I have no clue…

Did you add *.txt to the non-resource export filter in the Export dialog?

Calinou | 2020-07-21 07:33