Auto-translated
I tried that, I put the pet in the dynasty menu, selected that hero, started multiplayer, but the pet was still inactive in the hero's menu. Maybe it's only for single-player.
It's possible that the "Use dynasty benefits" checkbox is not enabled.