I took the BeepSaber game, originally written for Godot 3.2 and converted it to Godot4 format using a recent build of Godot trunk. When I try to run the game, I get many gdscript errors. In the latest GDScript Reference, I see that the class File still exists.
So I think those errors will be fixed when adding a "extends Node" to the beginning of each file. Is this correct?
Godot Engine v4.0.beta.custom_build.0f8f0ab12 - https://godotengine.org
Vulkan API 1.2.195 - Using Vulkan Device #0: AMD - AMD RADV NAVI10
ERROR: Script does not inherit from Node: res://OQToolkit/vrautoload.gd.
at: start (main/main.cpp:2724)
SCRIPT ERROR: Parse Error: Identifier "File" not declared in the current scope.
at: GDScript::reload (res://game/scripts/HighscoreTable/HighscoreTable.gd:104)
SCRIPT ERROR: Parse Error: Identifier "File" not declared in the current scope.
at: GDScript::reload (res://game/scripts/HighscoreTable/HighscoreTable.gd:105)
SCRIPT ERROR: Parse Error: Identifier "File" not declared in the current scope.
at: GDScript::reload (res://game/scripts/HighscoreTable/HighscoreTable.gd:118)
SCRIPT ERROR: Parse Error: Identifier "File" not declared in the current scope.
at: GDScript::reload (res://game/scripts/HighscoreTable/HighscoreTable.gd:119)
ERROR: Script does not inherit from Node: res://game/scripts/HighscoreTable/HighscoreTable.gd.
at: start (main/main.cpp:2724)
SCRIPT ERROR: Parse Error: Identifier "File" not declared in the current scope.
at: GDScript::reload (res://game/scripts/PlayCountTable.gd:74)
SCRIPT ERROR: Parse Error: Identifier "File" not declared in the current scope.
at: GDScript::reload (res://game/scripts/PlayCountTable.gd:75)
SCRIPT ERROR: Parse Error: Identifier "File" not declared in the current scope.
at: GDScript::reload (res://game/scripts/PlayCountTable.gd:88)
SCRIPT ERROR: Parse Error: Identifier "File" not declared in the current scope.
at: GDScript::reload (res://game/scripts/PlayCountTable.gd:89)
ERROR: Script does not inherit from Node: res://game/scripts/PlayCountTable.gd.
at: start (main/main.cpp:2724)
SCRIPT ERROR: Parse Error: Expected closing ")" after grouping expression.
at: GDScript::reload (res://OQToolkit/vrautoload.gd:748)
SCRIPT ERROR: Invalid call. Nonexistent function 'initialize' in base 'Nil'.
at: _ready (res://GameMain.gd:8)