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

Welcome,

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

https://ibb.co/TKFmy9P

I have one file in the scene which I open

func loadWords():
var linie =
var plik = File.new()
plik.open(“res://slownik.txt”, File.READ);
while not plik.eof_reached():
linie.append(plik.get_line())
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