secondlife / secondlife/viewer
GLTF Mesh Import: Possible spurious or misleading MAV_BLOCK_MISSING and Internal Server Errors
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 299
- Forks
- 146
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 88
Description
Environment
Second Life Project Gltf-mesh-import 7.1.14.15177952847
GLB exported from Blender 4.4.3
Description
Pipework-Top-Right.glb glTF mesh with a single simple (non-textured) coloured material shows a number of "interesting" error messages or mesh uploader behaviour.
On first try Calculate weights & fee it indicates some parts are too small for the physics mesh, though its one single large mesh element. Selecting "Bounding Box" physics fixed that.
On another try of Calculate weights & fee it gave MAV_BLOCK_MISSING which is odd when only a single texture is applied to the whole mesh, as I was trying to use the explanation for that type of error message at
On another upload attempt I got an "Internal Server Error".
Pipework-Top-Right failed to upload: Internal Server Error.
See SecondLife.log for details
But after all that on yet another attempt at Calculate and Upload without changing anything in the uploader it uploaded, though scale of rezzed item is about 50% of what it should be.
So I offer this simple glTF mesh piece as a test article in case others can see any or all these issues to help make the glTF emsh uploader more robust.
SecondLife.log relevant sections:
2025-05-22T08:35:59Z WARNING #Mesh# newview/llmeshrepository.cpp(3207) LLMeshUploadThread::onCompleted : Upload failed. Reason: Internal Server Error (Http_500)
2025-05-22T08:35:59Z WARNING #Mesh# newview/llmeshrepository.cpp(831) log_upload_error : Error in stage: upload, Reason: Internal Server Error (Http_500)
2025-05-22T08:35:59Z WARNING #Mesh# newview/llmeshrepository.cpp(842) log_upload_error : error: {'identifier':'NetworkError','message':'Internal Server Error'}
2025-05-22T08:35:59Z WARNING #Mesh# newview/llmeshrepository.cpp(843) log_upload_error : mesh upload failed, stage 'upload', error '', message 'Internal Server Error', id 'NetworkError'
2025-05-22T08:35:59Z WARNING # newview/lltoastalertpanel.cpp(197) LLToastAlertPanel::LLToastAlertPanel : Alert: Pipework-Top-Right failed to upload: Internal Server Error\n\nSee SecondLife.log for details
2025-05-22T08:41:48Z WARNING #Mesh# newview/llmeshrepository.cpp(3307) LLMeshUploadThread::onCompleted : Fee request failed. Not in expected 'upload' state.
2025-05-22T08:41:48Z WARNING #Mesh# newview/llmeshrepository.cpp(831) log_upload_error : Error in stage: fee, Reason: (Http_200)
2025-05-22T08:41:48Z WARNING #Mesh# newview/llmeshrepository.cpp(842) log_upload_error : error: {'BlockName':'physics_convex','Context':'headerHasBlock','ErrorCode':i7,'MeshIndex':i0,'identifier':'Upload_InvalidAsset','message':'MAV_BLOCK_MISSING'}
2025-05-22T08:41:48Z WARNING #Mesh# newview/llmeshrepository.cpp(843) log_upload_error : mesh upload failed, stage 'fee', error '', message 'MAV_BLOCK_MISSING', id 'Upload_InvalidAsset'
2025-05-22T08:41:48Z WARNING # newview/llfloatermodelpreview.cpp(1876) LLFloaterModelPreview::setModelPhysicsFeeErrorStatus : LLFloaterModelPreview::setModelPhysicsFeeErrorStatus(13107200 : )
2025-05-22T08:41:48Z WARNING # newview/lltoastalertpanel.cpp(197) LLToastAlertPanel::LLToastAlertPanel : Alert: Pipework- failed to upload: MAV_BLOCK_MISSING\n\nSee SecondLife.log for details
Reproduction steps
- Take Pipework-Top-Right glTF .glb example attached and use mesh uploader to import it to Second Life Beta Grid.
- Note whether mesh uploads first time or the issues raised above are observed.
- If MAV_BLOCK_MISSING seek explanation as the item has a single applied material.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the report with the attached Pipework-Top-Right.glb on the Second Life Beta Grid and review SecondLife.log. Start with newview/llmeshrepository.cpp, especially the logged fee and upload stages, then inspect newview/llfloatermodelpreview.cpp for the physics-fee error status. Done requires identifying the cause of the inconsistent MAV_BLOCK_MISSING, internal-server, and scale behavior and defining a reliable correction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- blender, cpp
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100