We investigate the generation of optical shock waves in strongly interacting Rydberg atomic gases with a spatially homogeneous dissipative potential. The Rydberg atom interaction induces an optical nonlocal nonlinearity. We focus on local nonlinear (Rb≪R0) and nonlocal nonlinear (Rb∼R0) regimes, where Rb and R0 are the characteristic length of the Rydberg nonlinearity and beam width, respectively. In the local regime, we show spatial width and contrast of the shock wave change monotonically when increasing strength of the dissipative potential and optical intensity. In the nonlocal regime, the characteristic quantity of the shock wave depends on Rb/R0 and dissipative potential nontrivially and on the intensity monotonically. We find that formation of shock waves dominantly takes place when Rb is smaller than R0, while the propagation dynamics is largely linear when Rb is comparable to or larger than R0. Our results reveal nontrivial roles played by dissipation and nonlocality in the generation of shock waves, and provide a route to manipulate their profiles and stability. Our study furthermore opens new avenues to explore non-Hermitian physics and nonlinear wave generation and propagation by controlling dissipation and nonlocality in the Rydberg media. Published by the American Physical Society 2024