You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Source or binary build?
Source, Ignition Edifice, ign-common commit: ee5ba8e
Description
Expected behavior:
When using include tag to add model from another sdf file, model's mesh loads normally
Actual behavior:
When using include tag to add model from another sdf file, this model is not loading if 1) it has mesh and 2) mesh uri is relative to the file location
Start ignition gazebo with main sdf file ign gazebo -v 4 main.sdf
Output
Model not loading with errors:
[GUI] [Err] [SystemPaths.cc:467] Could not resolve file [RETAINER.sdf/meshes/RETAINER_B001.dae]
[GUI] [Err] [MeshManager.cc:172] Unable to find file[RETAINER.sdf/meshes/RETAINER_B001.dae]
[GUI] [Err] [MeshDescriptor.cc:56] Mesh manager can't find mesh named [RETAINER.sdf/meshes/RETAINER_B001.dae]
[GUI] [Err] [Ogre2MeshFactory.cc:524] Cannot load null mesh [RETAINER.sdf/meshes/RETAINER_B001.dae]
[GUI] [Err] [Ogre2MeshFactory.cc:103] Failed to get Ogre item for [RETAINER.sdf/meshes/RETAINER_B001.dae]
[GUI] [Err] [SceneManager.cc:373] Failed to load geometry for visual: visual
From the log it seems that included model uri is added to the path which fails path resolving for the mesh.
The same model in the main sdf file is working fine.
Here is files to reproduce an error: example.zip
The text was updated successfully, but these errors were encountered:
Environment
Source, Ignition Edifice, ign-common commit: ee5ba8e
Description
When using include tag to add model from another sdf file, model's mesh loads normally
When using include tag to add model from another sdf file, this model is not loading if 1) it has mesh and 2) mesh uri is relative to the file location
Steps to reproduce
ign gazebo -v 4 main.sdf
Output
Model not loading with errors:
From the log it seems that included model uri is added to the path which fails path resolving for the mesh.
The same model in the main sdf file is working fine.
Here is files to reproduce an error:
example.zip
The text was updated successfully, but these errors were encountered: