Troubleshoot Collada Export Errors

MAV_BLOCK Parsing error

If you create small objects with disconnected sub-meshes, then you often get errors labelled as MAV_BLOCK Error when you try to upload your mesh to Second Life.

The image aside gives a nice example of a single object that is made of many smaller disconnected submeshes. While there is nothing wrong with this mesh, the SL Importer often has trouble to import the mesh.

reference-058

The reason for this issue is hidden somewhere in the Second Life Upload process. We believe the reason for the issue is that the SL Importer deletes Submeshes when they become too small. Then suddenly a part of the Mesh gets removed and this can end in a situation where a complete texture face is no longer available in one of the LOD’s. Then the SL Importer runs into this issue.

A known Workaround

In all cases where small submeshes where involved, we found that adding your own (simple) physics mesh to your Object solves the problems:

  • Create a simple mesh like a cube or a tetrahedron for example. The size of the mesh does not matter.
  • Export this simple mesh as Collada file
  • Import your Mesh as usual.
  • But before uploading visit the physics tab of the SL importer
  • There add Physics mesh from file
  • select your simple object

Now the upload should work.

DAE Parsing Errors

Second Life users frequently report a Dae parsing error. We found a couple of situations where this error appears (see below). However, in general your first step is to look into the Second Life Viewer Logfile…

Find the Viewer Logfile

The logfile is named SecondLife.log (assuming you use the default SL Viewer). Different viewers might use different names.
Typical locations where the logfiles can be found:
Windows XP C:\Documents and Settings\%USERNAME%\Application Data\SecondLife\logs\
Windows 7 C:\Users\%USERNAME%\AppData\Roaming\SecondLife\logs\

Typical causes for this issue

Special characters in Object names

Most dangerous characters are: & < ! > # $ ‘ “

Resolution:

Remove special characters in Object names and then export again

Special characters in File names

Most dangerous characters are: & < ! > # $ ( * ) [ ] { } ‘ “

Resolution:

Remove special characters in file names (renaming the .dae file should be enough)

Extremely dense Meshes

Please check if your mesh contains areas with very small triangles (edge length smaller than about 1 millimeter)

Resolution:

Try to avoid high resolution meshes. You are doing better when you put high density into textures and normal maps (Normal maps are now supported by Second Life)

Orphaned edges and vertices

If your mesh contains edges which do not belong to any face or disconnected vertices.

Resolution:

Remove these edges and vertices.
Hint: in Edit mode Select -> Non Manifold to find candidates. You may want to disable the “boundary” option in the operator panel.

Duplicate Vertices

If your mesh contains duplicate vertices this can cause issues. However sometimes duplicate verts are on purpose (for example when you use the split edge modifier in Blender 2.73 or older) so you need to test if this issue is caused by split edge or by accidental duplicates.

Resolution:

Remove the duplicate vertices.
Hint: in Edit mode ‘W’ -> Remove Doubles to delete the duplicates.

My mesh looks OK in SL but it does not fit.

This can happen when you use Appearance Sliders together with a Mesh that uses Collision Volume Weighting (Fitted mesh). In this case you must export your work in the Secondlife Restpose.

  • Klick on the white stickman icon to reset your pose to the SL Restpose (no worries, Avastar preserves your edited joints)
  • Make sure that you export the mesh with the male gender disabled (yes! that is important)