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

OBJ files and DAE (better dae) are not imported correctly. Absent in .import folder. #8741

Closed
SirPigeonz opened this issue May 13, 2017 · 12 comments
Milestone

Comments

@SirPigeonz
Copy link
Contributor

SirPigeonz commented May 13, 2017

Ubuntu - Godot 3.0-master (e883cda)

Issue description:
3.0 Obj and DAE are not imported correctly. They are absent in .import folder.
Loading .obj to mesh instance is not working - "not a resource".
Opening DAE also - "Error loading scene".

@SirPigeonz SirPigeonz changed the title 3.0 Obj and DEA (better dae) are not imported correctly. Absent in .import folder. 3.0 Obj and DAE (better dae) are not imported correctly. Absent in .import folder. May 13, 2017
@SirPigeonz
Copy link
Contributor Author

I think reopening Editor fixes .dae imports.

@kubecz3k kubecz3k added this to the 3.0 milestone May 13, 2017
@Gibbz
Copy link

Gibbz commented May 13, 2017

You can also re-export the mesh after the initial import, then that seems to fix it also without closing the editor.
May need to delete the mesh first if that doesnt work.

@akien-mga akien-mga changed the title 3.0 Obj and DAE (better dae) are not imported correctly. Absent in .import folder. OBJ files and DAE (better dae) are not imported correctly. Absent in .import folder. May 18, 2017
@reduz
Copy link
Member

reduz commented May 24, 2017

I can't reproduce this, so any help with more steps to reach this situation are appreciated

@Gibbz
Copy link

Gibbz commented May 24, 2017

So i usually have both blender and godot editor open.
I just export (better collada) directly into my_project/mesh/ directory.
Tab back into the editor, it will "import" but it shows a different icon from the usually dae. (included screenshot of a quick test)
import

@SirPigeonz
Copy link
Contributor Author

@reduz
I just export .dae to my project.
Then I try to open it as a scene.
Fails. Not much to add.

Restarting editor seems to import them correctly.

@akien-mga
Copy link
Member

Is this still valid now?

@reduz
Copy link
Member

reduz commented Jun 17, 2017

I seriously can't reproduce this, did you maybe switch to godot before the file is done exporting? if so Godot might find it invalid and you will have to reimport manually.. but this is normal behavior.

@SirPigeonz
Copy link
Contributor Author

Will check it later, sorry can't right now. :B

@SirPigeonz
Copy link
Contributor Author

SirPigeonz commented Jun 17, 2017

@reduz
I've tested it and it works although not entirely.

It creates dae-name.dea.import file.
And when I change original dae file it doesn't update, displaying old data.
After restarting Editor correct data from new dae is imported.

@sketchyfun
Copy link
Contributor

I played around with a 3.0 windows build today (12/13th June build) and I noticed when I updated an OBJ file, godot detected the change and showed the import progress bar, but once it had finished, it was still the old version of the mesh being displayed. Even when I deleted the meshinstance node, re-added it and selected the mesh file again, it was still the old version. The only way I could make it work (didn't try restarting the editor) was to save my OBJ file with a new name so it did a fresh import

@reduz
Copy link
Member

reduz commented Aug 22, 2017

I did many changes to this, would appreciate testing again. The type and resource should definitely be recognized always now..

@mhilbrunner
Copy link
Member

Maybe close this if there are no further updates?

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

7 participants