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

Import .blend using Blender 4.0 #79124

Closed
hemulya opened this issue Jul 6, 2023 · 13 comments
Closed

Import .blend using Blender 4.0 #79124

hemulya opened this issue Jul 6, 2023 · 13 comments

Comments

@hemulya
Copy link

hemulya commented Jul 6, 2023

Godot version

4.1

System information

Godot v4.1.stable.mono - Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2070 (NVIDIA; 31.0.15.3640) - Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 Threads)

Issue description

When importer detects blend file next window apears:
image

I'm using Blender daily builds which recentrly updated to version 4.0

Steps to reproduce

  1. Install Blender daily build
  2. Setup Godot blend import path to daily build
  3. Add .blend file to Godot project directory

Minimal reproduction project

Used newly created godot project

@Lasuch69
Copy link
Contributor

Lasuch69 commented Jul 6, 2023

It would be best to wait for blender 4.0 to be stable, as there might be some breaking changes along the way.

@AThousandShips
Copy link
Member

Simple fact is that we don't currently support this version as it isn't guaranteed to be compatible, not really a bug here, but worth investigating the compatibility, but be aware that Blender 4.0 hasn't been released yet so there's no reason to support it until then

@hemulya
Copy link
Author

hemulya commented Jul 7, 2023

Yes, agreed. But before 4.0 daily builds worked well. So you don't have check for maximum version. Also it is not possible check integration issues on blender development version. So all bugs will (if they will be) when new Blender release appears. In my opinion, there no reson to block dev blender version.

@akien-mga
Copy link
Member

It took Blender two decades to go from 2.0 to 3.0, so I guess Juan didn't expect 4.0 to come so soon. The editor setting is even named filesystem/import/blender/blender3_path (and at the time Blender 2.8 or earlier were still common enough that 3.0+ was an important requirement to set).

But yeah the test is likely overeager and could be removed.

@AThousandShips
Copy link
Member

AThousandShips commented Jul 7, 2023

One suggestion would be to add a warning when using recent versions, indicating that it might behave in unpredictable and undefined ways (as it's not yet released as far as I can tell, and I don't know that we've investigated compatibility) and prepare for the release and check the compatibility

While it should comply with the GLTF standard on the output, I assume there might be incompatibility with the command line interface or similar, or things like properties and things

Partially to prevent bug reports because of a lack of information that it might not work at the moment, if we just enable support without any warning

@fracteed
Copy link

fracteed commented Jul 7, 2023

I really wouldn't recommend using Blender 4.0 for any serious work yet. There are massive breaking changes going on with the way mesh normals and smoothing work. These changes, when they are finalised, will have to be updated in the gltf exporter, which is what the Godot importer is using in the background for a blend file.

@hemulya
Copy link
Author

hemulya commented Jul 7, 2023

People who install daily builds already know that it is unstable. I don't think that Godot should send another warning to the user. If something wrong with blender importer user should see an error in output and create a bug report here with included blender version. Godot developers will know all breaking changes before 4.0 release and will be ready.
Another situation, when users that using stable versions of programs get these errors and here will be created many bugs reports and user will get bad UX.

@Zireael07
Copy link
Contributor

@hemulya the whole point is that Blender 4.0 itself is changing rapidly - no point engaging in a wild goose chase if some things end up reworked/dropped on their side

@hemulya
Copy link
Author

hemulya commented Jul 7, 2023

This is correct. But as I see, you want block blender dev builds. So evere 2/3 monthes you need update Godot to not use version 4.0/4.1/.... And you will engaging goose chase.
In my propose no needs to update godot before stable Blender version release (if needed). And you will know what need to be fixed before release. All bugs for blender daily builds will be as reminder (I don't thinks that there will be many).
Anyway you will need fix blender import issue. The differents as I see will be in people who will find the bug - who expect the bug or who will be blocked to update to new stable version before fix. And second group will be bigger.

@Calinou
Copy link
Member

Calinou commented Jul 7, 2023

What we can do is allow using Blender development builds, but display a warning in the dialog after choosing such a version and printing a warning on startup (so you remember that you're using a development version).

@hemulya
Copy link
Author

hemulya commented Oct 6, 2023

Hey, guys.
There are 4.0 release soon. This bug will appear for Godot dev more offen. Any plans to fix this ?

@fire
Copy link
Member

fire commented Oct 6, 2023

This is being tracked in #82211

@akien-mga akien-mga added this to the 4.2 milestone Oct 6, 2023
@akien-mga
Copy link
Member

Fixed by #81194.

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

8 participants