Maintaining material array order when importing Blender models

I have the materials in the Blender file. When importing the Blender file, the material array order in the Mesh Renderer is not the same as the order of materials in the Blender file. How to keep the same material array order? I looked at these questions, but it does not solve the problem.

It seems it’s more likely an issue with Blender when it creates the .FBX file, than with Unity.

A little late. But hope it helps others