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

Impossible to open blend files created in Blender 2.8 #336

Open
SeleDreams opened this issue Jan 21, 2019 · 6 comments
Open

Impossible to open blend files created in Blender 2.8 #336

SeleDreams opened this issue Jan 21, 2019 · 6 comments
Labels
area-Asset bug Something isn't working

Comments

@SeleDreams
Copy link
Contributor

Release Type: Official Release

Version: 3.1.0.1-beta-01-0359
Platform(s): Windows 10 64 bits

Describe the bug
When importing a .blend file created in Blender 2.8, the error "Error:An exception occurred while generating the template." appears and nothing ends up imported.

To Reproduce
Steps to reproduce the behavior:

  1. Create a project in blender 2.8
  2. Save it as a .blend
  3. Load it in xenko by importing a model as .blend
  4. The error will appear when importing

Expected behavior
The model should open properly without errors

Screenshots
image

Log and callstacks

Error:An exception occurred while generating the template.
Info:Nothing to import.

Additional context
It happens on any kind of blender 2.8 projects, I've tested with a project containing a complex model and with a simple new project only containing the basic cube, it always happens, trying with blender 2.79, the projects are imported properly, so something probably changed in the format between 2.79 and 2.8

@SeleDreams SeleDreams added the bug Something isn't working label Jan 21, 2019
@GutterLab
Copy link

You might want to export to fbx if you're using animations. I don't think they're supported with gltf imports yet: #96

Since you currently can't import multiple animations in a single fbx, somebody made a blender script to split the animations and export them as separate fbx files: https://github.com/GutterLab/BlenderToXenkoAnimationSeparator

There was some discussion in the discord about adding support for importing multiple animations from a single fbx where someone was told to create an issue: #328 I assume it'll be implemented soon.

@SeleDreams
Copy link
Contributor Author

I see
about assimp though since I don't tend to use this library, I don't know how I should report the bug there

@SeleDreams
Copy link
Contributor Author

You might want to export to fbx if you're using animations. I don't think they're supported with gltf imports yet: #96

Since you currently can't import multiple animations in a single fbx, somebody made a blender script to split the animations and export them as separate fbx files: https://github.com/GutterLab/BlenderToXenkoAnimationSeparator

There was some discussion in the discord about adding support for importing multiple animations from a single fbx where someone was told to create an issue: #328 I assume it'll be implemented soon.

I think I'll simply use .blend files from blender 2.79, it would be the safest option without having to use fbx which isn't the most supported blender format and .blend would make later modifications easier

@Eideren
Copy link
Collaborator

Eideren commented Apr 28, 2020

Testing after the assimp update yields this instead:

Error:Assimp: BLEND: Expected at least one object with no parent
Info:Nothing to import.

I'll attach a test cube exported using blender 2.82 if you want to have a look, remove the extension though, had to add one as github wouldn't let me attach it otherwise.
untitled.blend.txt

@Metadorius
Copy link

Metadorius commented Jan 23, 2022

Testing after the assimp update yields this instead:

Error:Assimp: BLEND: Expected at least one object with no parent
Info:Nothing to import.

I'll attach a test cube exported using blender 2.82 if you want to have a look, remove the extension though, had to add one as github wouldn't let me attach it otherwise. untitled.blend.txt

Just confirming this issue still persists as of today.

@SVNMLR
Copy link
Contributor

SVNMLR commented Oct 8, 2023

Error still happening with Blender 3.6.4 and Stride 4.1.0.1948
Its not possible to import .blend files. Regarding the choosen Settings.

Error_Import -Blender

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Asset bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants
@Eideren @SeleDreams @Metadorius @GutterLab @SVNMLR and others