Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--convert-3to4 doesn't handle paths properly #63377

Closed
TokisanGames opened this issue Jul 24, 2022 · 1 comment · Fixed by #63664
Closed

--convert-3to4 doesn't handle paths properly #63377

TokisanGames opened this issue Jul 24, 2022 · 1 comment · Fixed by #63664

Comments

@TokisanGames
Copy link
Contributor

Godot version

4.0alpha12

System information

Win 10/64 NVIDIA GeForce GTX 1060/PCIe/SSE2

Issue description

I'm just started my porting journey. I have a 6GB repo, 5100 files (assets, code, scenes), a scene loader that loads and swaps between individual scene levels. These level scenes are under /project/scenes/. The script can't read those files, probably because it isn't handling slashes properly as shown below.

I'll seek out the standalone script and see if I can make more progress with it as the built in one failed before getting out of the gate. It didn't even list the main scene, which is down in \project\src\scene_loader\SceneLoader.tscn and should be set in the project file.

/d/gd/oota/gd4/project$ /d/gd/Godot_v4.0-alpha12_win64.exe --convert-3to4

Godot Engine v4.0.alpha12.official.2c11e6d9e - https://godotengine.org
Vulkan API 1.2.0 - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce GTX 1060

Starting conversion.
Trying to convert       1/15 file - "default_bus_layout.tres" with size - 2 KB
    File was not changed, checking took 12 ms.
Trying to convert       2/15 file - "project.godot" with size - 23 KB
    File was changed, conversion took 4 ms.
Conversion ended - all files(15), converted files(1), not converted files(14).
ERROR: Failed to read content of "res://scenesBlackMountain.tscn".
   at: (editor/project_converter_3_to_4.cpp:1631)
ERROR: Failed to read content of "res://scenesCave1.tscn".
   at: (editor/project_converter_3_to_4.cpp:1631)
ERROR: Failed to read content of "res://scenesCave3.tscn".
   at: (editor/project_converter_3_to_4.cpp:1631)
ERROR: Failed to read content of "res://scenesCave6.tscn".
   at: (editor/project_converter_3_to_4.cpp:1631)
ERROR: Failed to read content of "res://scenesCavernPass.tscn".
   at: (editor/project_converter_3_to_4.cpp:1631)
ERROR: Failed to read content of "res://scenesCavernWater.tscn".
   at: (editor/project_converter_3_to_4.cpp:1631)
ERROR: Failed to read content of "res://scenesDungeon1.tscn".
   at: (editor/project_converter_3_to_4.cpp:1631)
ERROR: Failed to read content of "res://scenesDungeon3.tscn".
   at: (editor/project_converter_3_to_4.cpp:1631)
ERROR: Failed to read content of "res://scenesPhoenixCave.tscn".
   at: (editor/project_converter_3_to_4.cpp:1631)
ERROR: Failed to read content of "res://scenesQuarryMine.tscn".
   at: (editor/project_converter_3_to_4.cpp:1631)
ERROR: Failed to read content of "res://scenesTitle.tscn".
   at: (editor/project_converter_3_to_4.cpp:1631)
ERROR: Failed to read content of "res://scenesWildeburn.tscn".
   at: (editor/project_converter_3_to_4.cpp:1631)
ERROR: Failed to read content of "res://scenesWildeburnAndrew.tscn".
   at: (editor/project_converter_3_to_4.cpp:1631)

@qarmin

Steps to reproduce

Godot_v4.0-alpha12_win64.exe --convert-3to4

Minimal reproduction project

No response

@TokisanGames
Copy link
Contributor Author

Alright, I'll try again on a fresh copy of my gd3 project and see what else comes up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants