-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Blender imports not working in blender 4.1 (with or without RPC) #85446
Comments
Tested this with blender 4.1.0 Alpha and am getting this error:
|
Tested with blender 4.0.1:
|
I'm pretty sure this error is related to the python script that is run via |
I did some more investigation and seems that If I just put the |
To me the error looks more like it's not properly putting quotes around the command line, so new lines are interpreted as separate arguments. Since this is a custom build, can you make sure the file is using Otherwise I agree that it's likely more stable to use a temp file for the script instead of passing it as an argument. |
This issue was happening with the default version 4.1 stable. I just tested with a custom build to see if it's still an issue with the latest version. I have a feeling this is an issue that is only for newer versions of blender, I will test it out with older blender versions to confirm. |
Ok, so after more testing, this issue is not caused by godot, it's caused by aur package for blender-4.0-bin. I've since mitigated this issue on the blender side. Note: This issue does not happen with regular blender installs so should not be of concern to godot. BUT: The RPC is not responding properly to the requests to 127.0.0.1 on port 6011, still investigating why that is. |
Seems that the while loop that checks for blender RPC service is running before the service can actually start.
If you look at the logs above, you'll see that the And immediately after that line you have another |
I've managed to get this working on a local build and created a PR #85519, it's kinda hacky but it works 🤫 |
Godot version
4.2.rc.custom_build.eda44bfe1
System information
Linux 6.6.1-arch1-1 Vulkan API 1.3.255 - Forward+
Issue description
Importing .blend files not working when using blender version 4.1
When using blender version Blender 4.0.1 it is working, but without RPC (so it's very slow)
Steps to reproduce
Create a simple .blend file (default cube scene will do)
Enable blender import for the project
Set blender port and path in editor settings
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: