I created a singleton(autoload) in godot and created a variable called Seed with the following syntax:
In my LineEdit node,I send a signal to itself when the text in the line edit mode has changed.
In my onLineEdittextchanged(new_text) function,I wrote the following code:
WorldData.Seed = new_text
Unfortunately,I received an error during test run,which says:
Invalid set index 'Seed'(on base:'Node (WorldData.gd)') with value of type 'String'.
I've tried converting the data types of various variables involved,but till now the error still persist...