(1) If X does not happen, Y will happen = Y will happen when X does not happen. (2) Unless X happens, Y will happen.= Y will be prevented to happen only when X happens. Sometimes (1) happens to be equal to (2) but not always.
1. If you don't take an umbrella, you'll get wet. (OK) Unless you take an umbrella, you'll get wet. 2. If you don't have an umbrella,