A shaping apparatus including a data generation unit that generates slice data on each layer, based on given shape data, and shaping a solid object by sequentially stacking material layers formed of a shaping material, based on the slice data, the shaping apparatus includes an acquisition unit that acquires information on a height of the material layer in a stacking direction during shaping; and a control unit that allows the data generation unit to regenerate the slice data for forming the material layer necessary for completing a solid object, which is being shaped, based on an acquisition result obtained by the acquisition unit.