godot: Failure to import .blend on some Blender Versions

Godot version

4.0.dev (0c23a2cfe)

System information

Linux, but reproducible on windows too

Issue description

On some blender versions, godot fails to import the blend files. It shows them as X’s and refuses to import new files of other file types too. It tries to import the .blend files constantly when you refocus the window Example errors:

modules/gltf/gltf_document.cpp:6899 - Condition "err != OK" is true. Returning: ERR_FILE_CANT_OPEN
  editor/editor_file_system.cpp:1914 - Error importing 'res://src/world/entities/player/Kart.blend'.
ERROR: Condition "err != OK" is true. Returning: ERR_FILE_CANT_OPEN
   at: append_from_file (modules/gltf/gltf_document.cpp:7030)

Discord sources of the issues: https://discord.com/channels/212250894228652034/908062856459743262/1029482280235831357 https://discord.com/channels/212250894228652034/908062856459743262/1020554639009140736 https://discord.com/channels/212250894228652034/908062856459743262/1020410725753163867

Steps to reproduce

Use one of the blender version confirmed to fail (3.0.1 and 3.3.0 as example) and try to import a blend file.

Minimal reproduction project

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 20 (9 by maintainers)

Most upvoted comments

Generating a default scene with a light, cube, and camera, I get the same two errors with Beta 9 and Blender 3.4.0 or 3.3.1. Generating the scene with Blender 3.2.0 works fine. I also tested taking a file from 3.4.0 and resaving it in 3.2.0 and this fixes the file. Conclusion, blender file format changed somehow between 3.2 and 3.3 and Godot can’t parse it. I hope this helps!

which fedora? I can try to put this on my bucket list