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

First import error spam came back in 4.3-dev6 #91726

Closed
akien-mga opened this issue May 8, 2024 · 1 comment · Fixed by #91908
Closed

First import error spam came back in 4.3-dev6 #91726

akien-mga opened this issue May 8, 2024 · 1 comment · Fixed by #91908

Comments

@akien-mga
Copy link
Member

Tested versions

  • Reproducible in 4.3.dev6 and later, including 4.3.dev (cff016d)
  • Not reproducible in 4.3.dev5 or earlier

System information

Fedora Linux 40 (KDE Plasma) - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX 7600M XT (RADV NAVI33) () - AMD Ryzen 7 7840HS w/ Radeon 780M Graphics (16 Threads)

Issue description

When importing the GDQuest TPS demo, I see a lot of errors on the first import in the editor, which had been resolved in 4.1 with #77276. So this seems to have regressed, starting with 4.3.dev6.

Editor output when importing the demo with 4.2.2:

$ rm -rf .godot
$ Godot_v4.2.2-stable_linux.x86_64 -e
Godot Engine v4.2.2.stable.official.15073afe3 - https://godotengine.org
Vulkan API 1.3.274 - Forward+ - Using Vulkan Device #1: AMD - AMD Radeon RX 7600M XT (RADV NAVI33)
 
WARNING: Blend file import is enabled in the project settings, but no Blender path is configured in the editor settings. Blend files will not be imported.
     at: _editor_init (modules/gltf/register_types.cpp:63)
WARNING: Adding 'gdbot_mesh' as child to 'Skeleton3D' will make owner 'gdbot' inconsistent. Consider unsetting the owner beforehand.
     at: add_child (scene/main/node.cpp:1427)
WARNING: Ignoring face with non-finite normal in LOD generation.
     at: generate_lods (scene/resources/importer_mesh.cpp:518)
WARNING: Adding 'bee_bot2' as child to 'Skeleton3D' will make owner 'bee_bot' inconsistent. Consider unsetting the owner beforehand.
     at: add_child (scene/main/node.cpp:1427)
WARNING: Adding 'Beetle' as child to 'Skeleton3D' will make owner 'beetle_bot_fused' inconsistent. Consider unsetting the owner beforehand.
     at: add_child (scene/main/node.cpp:1427)

Editor output when importing the demo with 4.3 dev (cff016d):

$ rm -rf .godot
$ godot-git -e
Godot Engine v4.3.dev.custom_build.cff016d6d (2024-05-08 16:23:05 UTC) - https://godotengine.org
Vulkan 1.3.274 - Forward+ - Using Device #1: AMD - AMD Radeon RX 7600M XT (RADV NAVI33)

ERROR: Cannot open file 'res://.godot/imported/CoinModel.glb-8979cd10b263ba5bb6aa0cf262c766bc.scn'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/CoinModel.glb-8979cd10b263ba5bb6aa0cf262c766bc.scn. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Player/Coin/CoinVisuals/CoinModel.glb. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
SCRIPT ERROR: Parse Error: Could not find type "Player" in the current scope.
          at: GDScript::reload (res://Player/Coin/Coin.gd:49)
ERROR: Failed to load script "res://Player/Coin/Coin.gd" with error "Parse error".
   at: load (./modules/gdscript/gdscript.cpp:2894)
ERROR: Cannot open file 'res://.godot/imported/completetask_0.mp3-06c657f738eb98ae3e61293ae1479493.mp3str'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/completetask_0.mp3-06c657f738eb98ae3e61293ae1479493.mp3str. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Player/Coin/Audio/completetask_0.mp3. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Cannot open file 'res://.godot/imported/DestroyedBox.glb-b8c8ecac1aae2fab01445422a4d452cf.scn'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/DestroyedBox.glb-b8c8ecac1aae2fab01445422a4d452cf.scn. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Box/BoxVisuals/DestroyedBox.glb. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Cannot open file 'res://.godot/imported/CoinModel.glb-8979cd10b263ba5bb6aa0cf262c766bc.scn'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/CoinModel.glb-8979cd10b263ba5bb6aa0cf262c766bc.scn. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Player/Coin/CoinVisuals/CoinModel.glb. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Cannot open file 'res://.godot/imported/completetask_0.mp3-06c657f738eb98ae3e61293ae1479493.mp3str'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/completetask_0.mp3-06c657f738eb98ae3e61293ae1479493.mp3str. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Player/Coin/Audio/completetask_0.mp3. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Cannot open file 'res://.godot/imported/BulletModel.obj-68a7a01cbdfffe2b2db64d2e983b8347.mesh'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/BulletModel.obj-68a7a01cbdfffe2b2db64d2e983b8347.mesh. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Player/BulletVisuals/BulletModel.obj. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Unable to open file: res://.godot/imported/sparks.png-18078a47b59d15deb88d29adc50b5f30.s3tc.ctex.
   at: _load_data (./scene/resources/compressed_texture.cpp:41)
ERROR: Failed loading resource: res://.godot/imported/sparks.png-18078a47b59d15deb88d29adc50b5f30.s3tc.ctex. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Player/BulletVisuals/sparks.png. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Cannot open file 'res://.godot/imported/lasershot-102078.wav-d665d98e82257b346ed19f9c68668ecf.sample'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/lasershot-102078.wav-d665d98e82257b346ed19f9c68668ecf.sample. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Player/Sounds/lasershot-102078.wav. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Cannot open file 'res://.godot/imported/smoke_ball.glb-2002d32b3d30ddcc38486549432127ed.scn'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/smoke_ball.glb-2002d32b3d30ddcc38486549432127ed.scn. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Enemies/smoke_puff/smoke_ball.glb. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Cannot open file 'res://.godot/imported/poof_1.wav-e5511e9d33269c1f409daf4bf9485217.sample'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/poof_1.wav-e5511e9d33269c1f409daf4bf9485217.sample. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Enemies/smoke_puff/Sounds/poof_1.wav. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Cannot open file 'res://.godot/imported/poof_2.wav-3e5919c3dd1f184ade8a8f46288a85c6.sample'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/poof_2.wav-3e5919c3dd1f184ade8a8f46288a85c6.sample. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Enemies/smoke_puff/Sounds/poof_2.wav. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Cannot open file 'res://.godot/imported/CoinModel.glb-8979cd10b263ba5bb6aa0cf262c766bc.scn'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/CoinModel.glb-8979cd10b263ba5bb6aa0cf262c766bc.scn. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Player/Coin/CoinVisuals/CoinModel.glb. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Cannot open file 'res://.godot/imported/completetask_0.mp3-06c657f738eb98ae3e61293ae1479493.mp3str'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/completetask_0.mp3-06c657f738eb98ae3e61293ae1479493.mp3str. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Player/Coin/Audio/completetask_0.mp3. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Cannot open file 'res://.godot/imported/smoke_ball.glb-2002d32b3d30ddcc38486549432127ed.scn'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/smoke_ball.glb-2002d32b3d30ddcc38486549432127ed.scn. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Enemies/smoke_puff/smoke_ball.glb. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Cannot open file 'res://.godot/imported/poof_1.wav-e5511e9d33269c1f409daf4bf9485217.sample'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/poof_1.wav-e5511e9d33269c1f409daf4bf9485217.sample. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Enemies/smoke_puff/Sounds/poof_1.wav. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Cannot open file 'res://.godot/imported/poof_2.wav-3e5919c3dd1f184ade8a8f46288a85c6.sample'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/poof_2.wav-3e5919c3dd1f184ade8a8f46288a85c6.sample. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Enemies/smoke_puff/Sounds/poof_2.wav. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Cannot open file 'res://.godot/imported/disk.obj-d152addaa2d0c7449058da7e1c9d230b.mesh'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/disk.obj-d152addaa2d0c7449058da7e1c9d230b.mesh. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Player/ExplosionVisuals/objects/disk.obj. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Cannot open file 'res://.godot/imported/disk.obj-d152addaa2d0c7449058da7e1c9d230b.mesh'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/disk.obj-d152addaa2d0c7449058da7e1c9d230b.mesh. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Player/ExplosionVisuals/objects/disk.obj. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
SCRIPT ERROR: Parse Error: Could not find type "Player" in the current scope.
          at: GDScript::reload (res://Player/Grenade.gd:39)
ERROR: Failed to load script "res://Player/Grenade.gd" with error "Parse error".
   at: load (./modules/gdscript/gdscript.cpp:2894)
ERROR: Cannot open file 'res://.godot/imported/grenade.glb-f043f42f6efaffee235dda6174637778.scn'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/grenade.glb-f043f42f6efaffee235dda6174637778.scn. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Player/GrenadeVisuals/grenade/grenade.glb. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Cannot open file 'res://.godot/imported/musket-explosion-6383.wav-3c1061a01a4d0adfed66e20385b2c864.sample'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/musket-explosion-6383.wav-3c1061a01a4d0adfed66e20385b2c864.sample. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Player/Sounds/musket-explosion-6383.wav. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Cannot open file 'res://.godot/imported/BulletModel.obj-68a7a01cbdfffe2b2db64d2e983b8347.mesh'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/BulletModel.obj-68a7a01cbdfffe2b2db64d2e983b8347.mesh. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Player/BulletVisuals/BulletModel.obj. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Unable to open file: res://.godot/imported/sparks.png-18078a47b59d15deb88d29adc50b5f30.s3tc.ctex.
   at: _load_data (./scene/resources/compressed_texture.cpp:41)
ERROR: Failed loading resource: res://.godot/imported/sparks.png-18078a47b59d15deb88d29adc50b5f30.s3tc.ctex. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Player/BulletVisuals/sparks.png. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Cannot open file 'res://.godot/imported/lasershot-102078.wav-d665d98e82257b346ed19f9c68668ecf.sample'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/lasershot-102078.wav-d665d98e82257b346ed19f9c68668ecf.sample. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Player/Sounds/lasershot-102078.wav. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Cannot open file 'res://.godot/imported/CoinModel.glb-8979cd10b263ba5bb6aa0cf262c766bc.scn'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/CoinModel.glb-8979cd10b263ba5bb6aa0cf262c766bc.scn. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Player/Coin/CoinVisuals/CoinModel.glb. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Cannot open file 'res://.godot/imported/completetask_0.mp3-06c657f738eb98ae3e61293ae1479493.mp3str'.
   at: load (./core/io/resource_format_binary.cpp:1204)
ERROR: Failed loading resource: res://.godot/imported/completetask_0.mp3-06c657f738eb98ae3e61293ae1479493.mp3str. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://Player/Coin/Audio/completetask_0.mp3. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (./core/io/resource_loader.cpp:281)
WARNING: Adding 'gdbot_mesh' as child to 'Skeleton3D' will make owner 'gdbot' inconsistent. Consider unsetting the owner beforehand.
     at: add_child (./scene/main/node.cpp:1575)
WARNING: Ignoring face with non-finite normal in LOD generation.
     at: generate_lods (./scene/resources/3d/importer_mesh.cpp:518)
WARNING: Adding 'bee_bot2' as child to 'Skeleton3D' will make owner 'bee_bot' inconsistent. Consider unsetting the owner beforehand.
     at: add_child (./scene/main/node.cpp:1575)
WARNING: Adding 'Beetle' as child to 'Skeleton3D' will make owner 'beetle_bot_fused' inconsistent. Consider unsetting the owner beforehand.
     at: add_child (./scene/main/node.cpp:1575)

It's also reproducible with using the --import option.

Steps to reproduce

Minimal reproduction project (MRP)

https://github.com/gdquest-demos/godot-4-3d-third-person-controller

@akien-mga
Copy link
Member Author

I bisected it to dc73440 / #90860.
CC @vnen (and @RandomShaper FYI as we discussed it).

dimitry- pushed a commit to AndroidWasm/godot that referenced this issue May 16, 2024
This reverts commit dc73440.

This commit in some form is needed to fix handling of dependencies on
export, but as it's also used for import, it's exposing some pre-existing
issues which we need to solve first.

So reverting for now to give ourselves time to iron this out for a future
Godot release.

Fixes godotengine#91726.
MewPurPur pushed a commit to MewPurPur/godot that referenced this issue Jul 11, 2024
This reverts commit dc73440.

This commit in some form is needed to fix handling of dependencies on
export, but as it's also used for import, it's exposing some pre-existing
issues which we need to solve first.

So reverting for now to give ourselves time to iron this out for a future
Godot release.

Fixes godotengine#91726.
2nafish117 pushed a commit to 2nafish117/godot that referenced this issue Aug 5, 2024
This reverts commit dc73440.

This commit in some form is needed to fix handling of dependencies on
export, but as it's also used for import, it's exposing some pre-existing
issues which we need to solve first.

So reverting for now to give ourselves time to iron this out for a future
Godot release.

Fixes godotengine#91726.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Very Bad
Development

Successfully merging a pull request may close this issue.

2 participants