godotengine / godotengine/collada-exporter

Object names with special characters are invalid collada

Open
#58 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
438
Forks
135
PR merge metrics
No merged PRs in 30d

Description

Software versions

OSX High Sierra.

2 day old master branch godot

better collada commit number 836241ad09a96b4e12226c4f1592d25d997ad118

```
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
WARNING: _parse_mesh_geometry: Primitive type "polygons" is not well supported (concave shapes may fail). To ensure that the geometry is properly imported, please re-export using "triangles" or "polylist".
At: editor/collada/collada.cpp:1060.
ERROR: load: Condition ' !collada.state.visual_scene_map.has(collada.state.root_visual_scene) ' is true. returned: ERR_INVALID_DATA
At: editor/import/editor_import_collada.cpp:1404.
ERROR: import_scene: Condition ' err != OK ' is true. returned: __null
At: editor/import/editor_import_collada.cpp:1936.
ERROR: get_dependencies: Condition ' !f ' is true.
At: core/io/resource_format_binary.cpp:1046.
ERROR: load_interactive: Condition ' err != OK ' is true. returned: Ref()
At: core/io/resource_format_binary.cpp:996.
ERROR: _load: Failed loading resource: res://.import/walls_only.dae-2495f74eb8f5b57224687e700f224e50.scn
At: core/io/resource_loader.cpp:185.
ERROR: _load: Failed loading resource: res://walls_only.dae
At: core/io/resource_loader.cpp:185.
ERROR: remove_scene: Index p_idx=1 out of size (edited_scene.size()=1)
At: editor/editor_data.cpp:491.
```

steps to reproduce

1 open .blend model
2 export with better collada
3. load scene into godot
4. error loading

expected result:

Scene is loaded like the official gltf 2.0 exporter

https://github.com/KhronosGroup/glTF-Blender-Exporter/tree/master/scripts

blender model.

screen shot 2017-12-28 at 9 35 04 am

gtlf2.0: created by the official khoronos exporter

screen shot 2017-12-28 at 9 40 49 am

scene models

[walls_only.zip](https://github.com/godotengine/collada-exporter/files/1591760/walls_only.zip)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.