I live in Norway, and as far as I know the reason for the immigration problems in sweden is mostly related to taking in a lot of immgrants, much more then other countries did (compared to swedens population) over a long period and then failing to integrated them. Basically creating ghettos. In addition to this the government was to slow with providing additional resources when needed (like severally years ago)
If it was duo to unions you should see the same in Norway.
Both the right and the left in the Scandinavian countries largely agree that unions are a good thing. But we also have a sosial safety net to help people.