Snaiel / Godot4ThirdPersonCombatPrototype

A prototype project for third person combat. Contains basics for player movement, camera, animations, combat, enemy AI, user interface, sound effects, and background music.
https://www.youtube.com/@Snaiel
MIT License
121 stars 17 forks source link

Scene file 'Main.tcsn' appears to be invalid/corrupt, Error while loading file 'Main.tcsn', Broken dependencies #3

Closed Snaiel closed 10 months ago

Snaiel commented 10 months ago

image

This occurs because you do not have Blender imports configured with Godot. See the documentation on Blender imports in Godot here: https://docs.godotengine.org/en/stable/tutorials/assets_pipeline/importing_scenes.html#importing-blend-files-directly-within-godot

In order to load the project, you must install Blender https://www.blender.org/ as this is what's used for the 3d models. The models are meant to be automatically loaded in using Blender within Godot but this needs to be configured.

After installing Blender, locate the install directory. For example, here is the location for my Blender on Linux: image

Blender locations for Linux, Windows, Mac are documented here: https://docs.blender.org/manual/en/latest/advanced/blender_directory_layout.html

Once you have identified your blender install path, go to the Editor option in the top left menu in Godot. Then select Editor Settings image

Then go to FileSystem > Import and paste your Blender path into Blender 3 Path. image

Afterwards, just reload the project and it should work now. image

Snaiel commented 2 months ago

This is the error that shows when opening the project in Godot 4.2 without enabling blender imports.

image

IRLadderGoat commented 1 month ago

As an extension, there might be problems with the newest version of blender. Had a similar experience to https://github.com/godotengine/godot/issues/92365. Diagnosed in https://github.com/godotengine/godot/pull/93998.