If I change the sprite of an object with SetSprite(id), that object somehow starts to ignore the sortingOrder and overlaps objects it's not supposed to (particles in this case).
I do set its proper sortingLayer and sortingOrder AFTER the sprite switch (just to be sure) and I check if all values are correct.
And yes, if I don't change the sprite, everything behaves as expected.
The particle systems have higher sortingLayer and are way closer to the camera.
Any advice would be appreciated, thanks!