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

Unable to fix broken scenes in Zombies branch #20

Open
LouChiSoft opened this issue Feb 11, 2025 · 2 comments
Open

Unable to fix broken scenes in Zombies branch #20

LouChiSoft opened this issue Feb 11, 2025 · 2 comments

Comments

@LouChiSoft
Copy link

Hi, I was trying to open the zombies project in Godot to evaluate gecs for a project I want to use but found multiple issues with the project. A lot of them are from missing addons which I fixed by adding them manually. But there are still several errors left over including missing script references, etc.

Are there any specific instructions one should follow to get the Zombies game working?

@csprance
Copy link
Owner

csprance commented Feb 11, 2025 via email

@LouChiSoft
Copy link
Author

This is some of the errors I have at the moment when opening the project:

  ERROR: Could not create child process:  --pbr-metallic-roughness --input C:/Godot/Projects/gecs/game/assets/characters/models/characterMedium.fbx --output C:/Godot/Projects/gecs/.godot/imported/characterMedium-98a00245f26777b37fe57ac7fcffbd06.glb --binary
  ERROR: modules/fbx/editor/editor_scene_importer_fbx2gltf.cpp:92 - FBX conversion to glTF failed with error: 248.
  ERROR: Error importing 'res://game/assets/characters/models/characterMedium.fbx'.
  ERROR: Failed loading resource: res://game/assets/characters/models/characterMedium.fbx. Make sure resources have been imported by opening the project in the editor at least once.
  ERROR: scene/resources/resource_format_text.cpp:282 - Parse Error: File corrupt. [Resource file res://game/entities/gameplay/enemies/e_enemy_zombie.tscn:106]
  ERROR: Failed loading resource: res://game/entities/gameplay/enemies/e_enemy_zombie.tscn. Make sure resources have been imported by opening the project in the editor at least once.
  ERROR: scene/resources/resource_format_text.cpp:282 - Parse Error: File corrupt. [Resource file res://game/assets/levels/level_one/level_one.tscn:296]
  ERROR: Failed loading resource: res://game/assets/levels/level_one/level_one.tscn. Make sure resources have been imported by opening the project in the editor at least once.
  WARNING: scene/resources/resource_format_text.cpp:447 - res://game/entities/ui/e_level_intro.tscn:9 - ext_resource, invalid UID: uid://bxahi1w2sb4rj - using text path instead: res://addons/kenney impact sounds/impact_wood_heavy_004.ogg
  ERROR: scene/resources/resource_format_text.cpp:282 - Parse Error: File corrupt. [Resource file res://game/assets/levels/test/level_test.tscn:178]
  ERROR: Failed loading resource: res://game/assets/levels/test/level_test.tscn. Make sure resources have been imported by opening the project in the editor at least once.
  ERROR: scene/resources/resource_format_text.cpp:39 - res://game/lib/autoloads/constants.tscn:20 - Parse Error: .
  ERROR: Failed loading resource: res://game/lib/autoloads/constants.tscn. Make sure resources have been imported by opening the project in the editor at least once.
  ERROR: Failed to instantiate scene state of "res://game/lib/autoloads/constants.tscn", node count is 0. Make sure the PackedScene resource is valid.
  ERROR: Failed to create an autoload, path is not pointing to a scene or a script: res://game/lib/autoloads/constants.tscn.
  ERROR: editor/editor_autoload_settings.cpp:571 - Condition "!info->node" is true. Continuing.

Additionally there are warnings like the following while running the project as well:

E 0:00:03:0595   world.gd:198 @ enable_entity(): Signal 'relationship_removed' is already connected to given callable 'Node(World)::_on_entity_relationship_removed' in that object.
  <C++ Error>    Method/function failed. Returning: ERR_INVALID_PARAMETER
  <C++ Source>   core/object/object.cpp:1451 @ connect()
  <Stack Trace>  world.gd:198 @ enable_entity()
                 entity_visible_on_screen_enabler_3d.gd:8 @ _on_screen_entered()

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

No branches or pull requests

2 participants