I am trying to create single texture for multiple materials in substance painter according to this tutorial. https://www.youtube.com/watch?v=HMP2xpGHimY
I have two models made in Blender. One with several materials(for generating ID map), another with one material.
Mesh for ID map:
Main mesh:
Both are totally identical from geometry and scale standpoint.
Generating ID map settings(it is a mobile game so I use only Unlit texture and don't require other maps and channels except for BaseColor):
Painting the model with masks created with ID map and actual problem.
Model's materials in Blender (everything is great here):
How can I handle this issue?