Materials are missing when moving to another platform

Saw this in 4.26, still present in 4.27

I make a game on my trusty GNU/Linux, but, thanks to nonexistence of windows cross-compilation toolchain, I have to some times boot a windows version of the UE4Editor to build the project for windows.
And some materials are just appear as worldgridmaterial instead of being what they should.
I do not transfer any cooked nor compiled content to the windows version of the Editor.
I rebuild and recook everything just in case.
But some times some materials are just refuse to work.
Yet they look okay in the content browser and in the material blueprint editor.
But not on the objects they are applied to.
The only thing that works is to change something in the material blueprint and then recompile it.

Coincidentally or not, every material that was ever missing were applied to a skeletal mesh.
Some were instanced, some were not.
I’d love to be able to not test everything on windows and just automate the build process and forget about it.

Looking for advice.