You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When converting a project from 3.5.1, the converter completely removes lines that use OS.window_size instead of upgrading them to a Godot 4 equivalent. Quite often this leads to errors, e.g. missing variable declarations, indented blocks with no opening if statement, etc.
Steps to reproduce
Open the repro project in Godot 3.5.1 or earlier
Inspect contents of demo_script.gd
Close Godot 3.5.1 and run a full conversion to Godot 4
Open project in Godot 4
Observe that demo_script.gd is now in an error state due to lacking a variable declaration
Godot version
4.0.rc5.official
System information
Windows 10
Issue description
When converting a project from 3.5.1, the converter completely removes lines that use
OS.window_size
instead of upgrading them to a Godot 4 equivalent. Quite often this leads to errors, e.g. missing variable declarations, indented blocks with no openingif
statement, etc.Steps to reproduce
demo_script.gd
demo_script.gd
is now in an error state due to lacking a variable declarationMinimal reproduction project
OS Window Function Error.zip
The text was updated successfully, but these errors were encountered: