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

gltf-viewer and gltf2bam crashes while loading character model #136

Open
Yonnji opened this issue Aug 25, 2024 · 2 comments
Open

gltf-viewer and gltf2bam crashes while loading character model #136

Yonnji opened this issue Aug 25, 2024 · 2 comments

Comments

@Yonnji
Copy link
Contributor

Yonnji commented Aug 25, 2024

Model file: https://github.com/murasaqi/ZONKO_3D_OPEN_SOURCE_PROJECT_MurasaqiExample/blob/main/Unity_ZONKO_3D_OPEN_SOURCE_PROJECT/Assets/Zone_LiveDemo/Models/znk/znk_221107/vrm/znk.vrm
It's just a GLB with an extra metadata and could be imported into Blender after renamed as .glb.

Panda3D 1.10.14

panda3d-gltf 0.13 can import and display the character just fine. The node tree is wrong and unusable (has a lot of Character's), but that's another story.

panda3d-gltf 1.1.0 crashes on:

:gobj(warning): Dropping empty array from GeomVertexFormat.
Assertion failed: fi != _formats.end() at line 1050 of panda/src/gobj/geomVertexFormat.cxx
Assertion failed: !is_registered() at line 75 of panda/src/gobj/geomVertexFormat.cxx

panda3d-gltf master crashes on:

AttributeError: 'NoneType' object has no attribute 'fullpath'
Because it couldn't find gltf/hdri/512_cg_0.hdr file

Panda3D master

panda3d-gltf 0.13 work the same way as with older panda3d

panda3d-gltf 1.1.0 crashes with:

:gobj(warning): Dropping empty array from GeomVertexFormat.
munmap_chunk(): invalid pointer
Aborted (core dumped)

coredumpctl trace:

                Stack trace of thread 39797:
                #0  0x00007fa057ca8664 __pthread_kill_implementation (libc.so.6 + 0x99664)
                #1  0x00007fa057c4fc4e raise (libc.so.6 + 0x40c4e)
                #2  0x00007fa057c37902 abort (libc.so.6 + 0x28902)
                #3  0x00007fa057c38767 __libc_message_impl.cold (libc.so.6 + 0x29767)
                #4  0x00007fa057cb27e5 malloc_printerr (libc.so.6 + 0xa37e5)
                #5  0x00007fa057cb2abc munmap_chunk (libc.so.6 + 0xa3abc)
                #6  0x00007fa057cb759a free (libc.so.6 + 0xa859a)
                #7  0x00007fa0485d7d01 n/a (libpanda.so.1.11.0 + 0x3d7d01)
@Kupoman
Copy link

Kupoman commented Aug 26, 2024

+1

The Duck sample glb file encounters the missing 512_cg_0.hdr file error too: https://github.com/KhronosGroup/glTF-Sample-Models/blob/main/2.0/Duck/glTF-Binary/Duck.glb

@Moguri
Copy link
Owner

Moguri commented Oct 28, 2024

The 512_ch_0.hdr issue is fixed with v1.2.1, but this issue was limited to gltf-viewer, so I still need to see why the model doesn't work with gltf2bam.

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

No branches or pull requests

3 participants