Jump to content

[SOLVED] Error loading DDS textures exported from latest version of Unigine Editor


photo

Recommended Posts

Hello,

When I attempt to load materials exported from Unigine Editor that is part of latest version of Unigine SDK, I get errors in console related to DDS textures:

ImageFile::load(): unknown format of "guid://ec6ba53b447ed95e7ba9712513bb7040e1ed269f" file

Materials that are exported from earlier version of editor doesn't seem to have this issue. Could you advise on this issue? Thanks in advance 

Link to comment

Thanks for your prompt response.

1. We have Unigine integrated into a C++/Qt project. We import FBX into Editor, export it as .mesh and also copy the material files that editor generates into our app to use as a built-in library of 3D meshes. We also add new resources to guids.db using some Python script. We don't use .node or .world files from editor. Mesh loading is then done by a code similar to this one:

auto mesh = Unigine::Mesh::create();

mesh->load(filePath);

we then create a mesh node and assign materials via Unigine::Object::setMaterial() call by iterating through all surfaces of a given mesh.

2. We are using 2.12.0.2 Engineering edition. These DDS texture loading related issues popped up after upgrading from 2.10.0.2 to 2.12.0.2 recently

3. Attached is the wooden chair model exported from Unigine editor that is part of 2.12.0.2 SDK. When loading these materials we get this error in console:

ImageFile::load(): unknown format of "guid://0e29fdb77686bfaaa93e6b012655c86cef3128db" file

 

wooden_chair.rar

Link to comment

We just discovered a bug causing the above issue. GUIDs for DDS textures were different in guids.db and .mat files that referenced them :) So the issue was on our side. Thanks for your help, morbid!

Link to comment
  • silent changed the title to [SOLVED] Error loading DDS textures exported from latest version of Unigine Editor
×
×
  • Create New...