So basically, every model that is in glb format, when exported to godot has this red "X" besides the model that makes it so that my model is unusable, and i cannot even reimport it for whatever reason, literally, there's not even a option to import it again. The models are done in blender and then saved as glb format to godot, but this red cross is ruining everything. I tried searching for days and days a way to fix this issue, but none has yet to give the desired result.

(I already tried other formats, but either it didn't work, or wasn't what i really wanted, for example, missing textures)

    CaioM The models are done in blender and then saved as glb format to godot, but this red cross is ruining everything.

    What versions

    • Godot
    • Blender

    ??

    Can you share a problem model?

      Tomcat Godot's version is 4.1 and blender version is 3.6. And for "sharing a problem model" you mean uploading a model so you can test it out yourselves? Well, i tried, but i can't upload it for some reason, neither in blend format or glb format

        CaioM And for "sharing a problem model" you mean uploading a model so you can test it out yourselves? Well, i tried, but i can't upload it for some reason, neither in blend format or glb format

        Yeah. There's a size limit (2MB I think), but you can use any file sharing site. Or compress it into a zip.

          Tomcat oh right, forgot that i could do that! well, in that case, here's a zip file of one of my models in glb format:

          soldado-calidora-2.zip
          276B

          CaioM The models are done in blender

          here's a zip file of one of my models in glb format:

          Can you share the original .blend file?

            Tomcat sorry for the wait, here ya go, in blend format

            soldado-calidora-2.zip
            254kB

              CaioM here ya go, in blend format

              The .blend file exports normally to glTF on my system. And the resulting file (.glb) imports fine into Godot. But the original .blend is imported with errors.

              Preliminary. The problem is not in the engine. Something is corrupting the files on your system. It is necessary to understand the .blend file in detail.

              .blend

              .glb

              What I can say right away is that you need to apply all Blender modifiers to the model before exporting.

              There are no textures, as the blender file is without them.

                Tomcat thanks for your help! i'm really glad for this, really, and i just forgot to apply modifiers, no worries. But there are 2 things that i wanted to talk about: The first is that my fear was that it actually was my system that was giving the error, but i simply wouldn't know what it is that's making this error, and i'm not gonna pick on you about that, as i think that not even you would be able to help me with that. Second is that actually, this file does have texture, quite a fare share of them actually, i don't know if it actually has to do with the format of the file...in any case, what would be better for me to use then? glb or blend format? Oh and i noticed that the glb format still has that same red cross, does it still work for you?

                  CaioM Oh and i noticed that the glb format still has that same red cross, does it still work for you?

                  The one with the red cross is the file I got from you. It's corrupted from the beginning and doesn't work.

                  The .glb I used in the engine is the one I exported from Blender.

                  The first is that my fear was that it actually was my system that was giving the error, but i simply wouldn't know what it is that's making this error, and i'm not gonna pick on you about that, as i think that not even you would be able to help me with that.

                  I have a guess as to what might be causing the error… what kind of computer do you have?

                  in any case, what would be better for me to use then? glb or blend format?

                  Better (more reliable) — glTF (.glb).

                    Tomcat

                    Tomcat I have a guess as to what might be causing the error… what kind of computer do you have?

                    what kind of computer? well i guess it's a Windows 11 Pro, if that's of any help

                    Tomcat The .glb I used in the engine is the one I exported from Blender.

                    so it's only me then i think, well, now atleast i know where the problem resides

                    Oh, and one more thing, i don't know if it's just me that didn't quite get that well, but, it seems that your glb file that you exported came without its textures, although it has textures, is it because you don't have the texture or is it a general thing that happens even for me?

                      CaioM what kind of computer? well i guess it's a Windows 11 Pro

                      I was referring to the hardware. Possible reason for corrupted file is disk write error, and it can be for different reasons.

                        Tomcat well, in that case, thanks for your help. I don't really know how i will fix this issue, but either way, i'm glad that you could help me figuring this out!

                        CaioM but, it seems that your glb file that you exported came without its textures, although it has textures

                        I missed. There were no textures in the file:

                        Tomcat There are no textures, as the blender file is without them.

                          Tomcat Sorry for taking so long to answer back! I took so long not because i forgot, but simply because i fixed the issue and it's now exporting with textures and without errors...the problem is i don't even know how. It just, did, for some reason, fixed itself. I tried to find a reason its past 2 days but couldn't figure out why! So, to anyone with the same problem as mine, i wish i could be of any help, the problem is that it just fixed itself after sometime, maybe it's really my system and then one day the problem was no longer there, i now can export and use the models on my scene as planned, without issues

                            CaioM It just, did, for some reason, fixed itself.

                            Windows has a system of "self-healing" — fixing and correcting errors. It very rarely helps, but sometimes it happens. But I'd recommend checking the disks.

                              Tomcat Windows has a system of "self-healing" — fixing and correcting errors.

                              Journaling file-system you mean?