In addition to the existing solutions, I found that Assimp::Importer::ReadFileFromMemory only read file ptr but no handling outsource file, such as mtl file. It is commented in the library. Instead, I should use Assimp::Importer::ReadFile.
Assimp::Importer::ReadFileFromMemory
Assimp::Importer::ReadFile