Redot-Engine / redot-engine

Redot Engine – Multi-platform 2D and 3D game engine
https://redotengine.org/
MIT License
4.8k stars 216 forks source link

gltf import problem! #679

Open gnuchanos opened 1 month ago

gnuchanos commented 1 month ago

Tested versions

Redot Engine v4.4.dev.custom_build.4f67c65d2 (2024-10-11 03:36:55 UTC)

System information

arch linux - v4.4.dev.custom - compatibility

Issue description

ERROR: FATAL: Index p_index = 0 is out of bounds (count = 0).
   at: operator[] (./core/templates/local_vector.h:179)
ERROR: Caller thread can't call this function in this node (/root). Use call_deferred() or call_thread_group() instead.
   at: propagate_notification (scene/main/node.cpp:2494)

================================================================
handle_crash: Program crashed with signal 4
Engine version: Redot Engine v4.4.dev.custom_build (5e7e5fc60f1e75cb272ebf650fd37c51e0fa16fa)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /usr/lib/libc.so.6(+0x3d1d0) [0x7a373f5331d0] (??:0)
[2] /home/archkubi/Downloads/redot-linux-dev/redot.linuxbsd.editor.x86_64(+0x3e812e3) [0x6499aeab52e3] (??:0)
[3] /home/archkubi/Downloads/redot-linux-dev/redot.linuxbsd.editor.x86_64(+0x3e4fb36) [0x6499aea83b36] (??:0)
[4] /home/archkubi/Downloads/redot-linux-dev/redot.linuxbsd.editor.x86_64(+0x3edf9c2) [0x6499aeb139c2] (??:0)
[5] /home/archkubi/Downloads/redot-linux-dev/redot.linuxbsd.editor.x86_64(+0x652611) [0x6499ab286611] (??:0)
[6] /home/archkubi/Downloads/redot-linux-dev/redot.linuxbsd.editor.x86_64(+0x7ae04b) [0x6499ab3e204b] (??:0)
[7] /home/archkubi/Downloads/redot-linux-dev/redot.linuxbsd.editor.x86_64(+0x65ae42) [0x6499ab28ee42] (??:0)
[8] /home/archkubi/Downloads/redot-linux-dev/redot.linuxbsd.editor.x86_64(+0x746cc9) [0x6499ab37acc9] (??:0)
[9] /home/archkubi/Downloads/redot-linux-dev/redot.linuxbsd.editor.x86_64(+0x1787da4) [0x6499ac3bbda4] (??:0)
[10] /home/archkubi/Downloads/redot-linux-dev/redot.linuxbsd.editor.x86_64(+0x48cc824) [0x6499af500824] (??:0)
[11] /home/archkubi/Downloads/redot-linux-dev/redot.linuxbsd.editor.x86_64(+0x48cc97a) [0x6499af50097a] (??:0)
[12] /home/archkubi/Downloads/redot-linux-dev/redot.linuxbsd.editor.x86_64(+0x42ac695) [0x6499aeee0695] (??:0)
[13] /home/archkubi/Downloads/redot-linux-dev/redot.linuxbsd.editor.x86_64(+0x5092194) [0x6499afcc6194] (??:0)
[14] /usr/lib/libc.so.6(+0x9439d) [0x7a373f58a39d] (??:0)
[15] /usr/lib/libc.so.6(+0x11949c) [0x7a373f60f49c] (??:0)
-- END OF BACKTRACE --
================================================================

Steps to reproduce

i can't import gltf file

Minimal reproduction project (MRP)

fps.zip

Spartan322 commented 1 month ago

This might be a Godot upstream problem, will look into this.

SkogiB commented 1 month ago

Was unable to replicate this in my project, lemme check the MRP

image

SkogiB commented 1 month ago

Additionally, loading the MRP it imported the provided .gltf file just fine. Will have to keep an eye out for this one, it may be unique to the linux builds