This work presents 3D resistive magnetohydrodynamical models of the solar nebula, showing that the region between magnetically active and dead zones is prone to the excitation of vortices, that effectively form planetary embryos of Moon to Mars mass.