Attempting to import a GLTF 3D model as an asset. Select the GLTF file, accept the defaults, click OK. It does absolutely nothing, all that happens is the popup closes. Any ideas why?
I started debugging this and it seems to fail in the call to the Assimp library. In the fGTLollowing code the call to extract entity returns a null pointer. Perhaps, the Assimp library is unable to handle GLTF v2? The model I’m using is quite basic GLTF v2 w/ embedded textures.
public override EntityInfo GetEntityInfo(UFile localPath, Logger logger, AssetImporterParameters importParameters)
{
var meshConverter = new Importer.AssimpNET.MeshConverter(logger);
var entityInfo = meshConverter.ExtractEntity(localPath.FullPath, null, importParameters.IsTypeSelectedForOutput(typeof(TextureAsset)));
return entityInfo;
}
Created bug ticket for this (any modern game engine should support GLTF models).