So yeah, in mesh element mode everything works as expected, but i didn't manage to get something useful in material ID mode - with instancing engine ON, max throws error or crashes, with instancing engine OFF, it renders fine, but not exactly in the way i was expected (most likely of my incorrect setup of railclone graph).