It was working but it stopped for some reason. I tried Blender 4.3, 4.4, 4.5 - the same effect - not importing polygroups, polypaint works.