diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp
index 117507ef39307ca7dcc2dbf4d661cdd75fbaa1fd..39ebf9f95bbc93e30b91e9fedb69e91ca4567234 100644
--- a/indra/newview/llmeshrepository.cpp
+++ b/indra/newview/llmeshrepository.cpp
@@ -4034,7 +4034,7 @@ void LLMeshRepository::uploadError(LLSD& args)
 //static
 F32 LLMeshRepository::getStreamingCost(LLSD& header, F32 radius, S32* bytes, S32* bytes_visible, S32 lod, F32 *unscaled_value)
 {
-	if (header.size() == 0)
+	if (header.size() == 0 || header.has("404") || header["version"].asInteger() > MAX_MESH_VERSION)
 	{
 		return 0.f;
 	}