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

Godot Export Manager: Cannot export anything. Location Unknown Error: -1 #110

Open
ReubenU opened this issue Jul 29, 2019 · 5 comments
Open
Labels

Comments

@ReubenU
Copy link

ReubenU commented Jul 29, 2019

BetterExporter_MassiveError

@Calinou Calinou added the bug label Feb 26, 2020
@Calinou Calinou changed the title Cannot export anything. Location Unknown Error: -1 Godot Export Manager: Cannot export anything. Location Unknown Error: -1 Feb 26, 2020
@MaywormIII
Copy link

MaywormIII commented Mar 24, 2020

I'm having possibly the same problem. Here are the messages that show in my console when I try to export something.

Traceback (most recent call last):
File "/home/mayworm/Desktop/Aplicações/Blender_v2.82/blender-2.82-linux64/2.82/scripts/addons/io_scene_dae/init.py", line 173, in execute
return export_dae.save(self, context, **keywords)
File "/home/mayworm/Desktop/Aplicações/Blender_v2.82/blender-2.82-linux64/2.82/scripts/addons/io_scene_dae/export_dae.py", line 2068, in save
exp.export()
File "/home/mayworm/Desktop/Aplicações/Blender_v2.82/blender-2.82-linux64/2.82/scripts/addons/io_scene_dae/export_dae.py", line 1976, in export
self.export_scene()
File "/home/mayworm/Desktop/Aplicações/Blender_v2.82/blender-2.82-linux64/2.82/scripts/addons/io_scene_dae/export_dae.py", line 1621, in export_scene
self.export_node(obj, 2)
File "/home/mayworm/Desktop/Aplicações/Blender_v2.82/blender-2.82-linux64/2.82/scripts/addons/io_scene_dae/export_dae.py", line 1571, in export_node
self.export_node(x, il)
File "/home/mayworm/Desktop/Aplicações/Blender_v2.82/blender-2.82-linux64/2.82/scripts/addons/io_scene_dae/export_dae.py", line 1558, in export_node
self.export_mesh_node(node, il)
File "/home/mayworm/Desktop/Aplicações/Blender_v2.82/blender-2.82-linux64/2.82/scripts/addons/io_scene_dae/export_dae.py", line 1142, in export_mesh_node
meshdata = self.export_mesh(node, armature)
File "/home/mayworm/Desktop/Aplicações/Blender_v2.82/blender-2.82-linux64/2.82/scripts/addons/io_scene_dae/export_dae.py", line 642, in export_mesh
mesh.update(calc_edges=False, calc_edges_loose=False, calc_loop_triangles=True)# 2.80
TypeError: Mesh.update(): takes at most 2 arguments, got 3

location: :-1

@Calinou
Copy link
Member

Calinou commented Mar 24, 2020

@MaywormIII The Collada exporter in this repository hasn't been updated for Blender 2.8 yet. Moreover, I'm not sure if any of the forks have updated the Godot Export Manager (which is a separate add-on).

@Xekkel
Copy link

Xekkel commented Apr 10, 2020

@Calinou Is there a work around for fix for this bug? Is using and older version of Blender a fix? I'm kind of stuck right now unable to put animations into my Godot project, because of this same error trace. I'm not sure what to do because I'm having problems with .fbx and .glb as well.

@set-killer
Copy link
Contributor

@Xekkel for Godot projects you can use the Godot Export Manager.

@gsss124
Copy link

gsss124 commented Jun 26, 2020

I was stuck at the same error, the solution is quite simple. The error says "TypeError: Mesh.update(): takes at most 2 arguments, got 3", for file export_dae.py. A look-up on DuckDuckGo told me that Mesh.update() only takes calc_edges and calc_edges_loose. So, open export_dae.py in any text editor, goto line 642 and delete , calc_loop_triangles=True from inside the brackets of Mesh.update() and save it. Once I did that, BetterCollada exported the mesh with animation and if I check copy images, it exported images also. The only problem is the shader, which is too bright, which makes the material color look faded. Note that I have tested this on Linux, with extracted version of Blender 2.83 and Godot 3.2.1. Better Collada Add-on for 2.8x can be downloaded from here: BetterCollada for Blender 2.8. Enjoy Godot :)

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

No branches or pull requests

6 participants