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

Importing Blender .blend Files Softlocks Godot Editor (Arch Linux) #82888

Closed
Jazztache opened this issue Oct 6, 2023 · 4 comments
Closed

Importing Blender .blend Files Softlocks Godot Editor (Arch Linux) #82888

Jazztache opened this issue Oct 6, 2023 · 4 comments

Comments

@Jazztache
Copy link

Jazztache commented Oct 6, 2023

Godot version

v4.1.1.stable.arch_linux

System information

Godot v4.1.1.stable unknown - Arch Linux #1 SMP PREEMPT_DYNAMIC Wed, 13 Sep 2023 08:37:40 +0000 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2060 (nvidia; 535.104.05) - Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz (16 Threads)

Issue description

On Arch Linux, Godot cannot import Blender files directly.
Blender path is /usr/bin/.

It instead tries to repeatedly import the Blender file, to no avail.

This error is outputted repeatedly.

modules/gltf/gltf_document.cpp:7432 - Condition "err != OK" is true. Returning: ERR_FILE_CANT_OPEN
Error importing 'res://cube.blend'.

Can confirm this works with an without launching Godot with sudo privileges

Steps to reproduce

  1. Run Godot with or without sudo privileges; Make sure your path is /usr/bin/ so it can find Blender.
  2. Create a new Godot project.
  3. Create the default Blender cube as a file. Literally just open Blender and save the default file.
  4. Import the default cube file using the system file manager.
  5. Godot softlocks with the error message above. It repeats until the program is closed.

Attached is a reproduction video

Godot.Blender.Model.Import.Softlock.mp4

Minimal reproduction project

Godot 4.1 Cannot Import Blend Files.zip

@Jazztache
Copy link
Author

Side note: Even copying the Blender binary to a new folder, giving it user perms, and then setting the binary's folder to to be the Blender path for Godot causes the bug to happen. Doesn't matter what Blender file you give it, or where the binary is, and it doesn't seem like which user the binary file is assigned to matters. It just does this softlock.

@aaronfranke
Copy link
Member

I did a quick test and it imports fine on macOS, so it may be a platform-specific issue.

@chefnaphtha
Copy link

can repro, also on arch

@Calinou
Copy link
Member

Calinou commented Oct 10, 2023

Thanks for the report! Consolidating in #76338.

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

No branches or pull requests

4 participants