Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Asset Forge

Create your own 3D models and 2D sprites! · By Kenney

GLTF export doesn't work correctly 2.0 Preview 1b Locked

A topic by Asgatoril created Feb 17, 2020 Views: 231 Replies: 1
This topic was locked by Kenney Apr 22, 2020

Fixed in version 2.0 preview-1c (released or soon to be released)

Viewing posts 1 to 3
(1 edit)

Hi,
I just bought Asset Forge and wanted to try it out by creating and exporting a very simple model.
Unfortunately I can't export this model as GLTF. I also can't open a new file after trying to export this model as GLTF until I restart the editor.

The problem doen't exist if I open a new file, add some random tiles and then try to export.

Here is the problematic model: https://pastebin.com/KYR7z4y1

The problem also vanishes, if I change the shader for "glass" from "shader:Unlit" to "shader:Standard;valueA:0.35;valueB:0.5;".
"Unlit" seems to be the default for windows though.

Best of luck in finding and squishing that bug!

PS: A minor bug I also noticed: If the GLTF export is successful, the file is not saved as *.gltf but *.glb. The extension seems to be correct for the created file, but the export dialog won't list previously exported files and overwrites any existing files with the same name without warning.

Hey, thanks for reporting! This took a while to investigate but found the problem:

The reason your model wasn't loading was a combination of an internal bug with the shader (as you correctly found out) but also because your file includes spaces on the empty lines. Asset Forge didn't like this and refused to load the model. In the new version which is releasing soon (preview-1c) I've fixed these bugs and it'll load even with the extra spaces. I've also fixed the issue with GLTF, the filename is now correct.

locked this topic