By photodeposition of small quantities of CrOx on SrTiO3-based semiconductors, doped with aliovalent Mg(II) and functionalized with Ni/NiO catalytic nanoparticles (economically significantly more viable than commonly used Rh catalysts), an increase in Apparent Quantum Efficiency (AQEs) from ~10% to 26% in overall water splitting was obtained. Deposition of CrOx also significantly enhances the stability of Ni/NiO nanoparticles in production of hydrogen, allowing sustained operation, even in intermittent cycles of illumination. In situ elemental analysis of the water constituents during, or after photocatalysis, shows that after CrOx deposition, dissolution of Ni-ions from Ni/NiO-Mg:SrTiO3 is significantly suppressed, explaining the stabilizing effect of CrOx on water splitting performance. State-of-the-art electron microscopy and EDX and EELS analyses demonstrate that upon preparation, CrOx is photodeposited in the vicinity of several, but not all, Ni/NiO particles. This implies the formation of a Ni-Cr mixed metal oxide, which is highly effective in water reduction. Inhomogeneities in the interfacial contact, evident from differences in contact angles between Ni/NiO particles and the Mg:SrTiO3 semiconductor, likely affect the probability of reduction of Cr(VI)-species during synthesis by photodeposition, explaining the observed inhomogeneity in the spatial CrOx distribution. Furthermore, by comparison with undoped SrTiO3, Mg-doping appears essential in providing such favorable interfacial contact and to establish the beneficial effect of CrOx. This study suggests that the performance of semiconductors can be significantly improved if inhomogeneities in interfacial contact between semiconductors and highly effective catalytic nanoparticles can be resolved by (surface) doping and improved synthesis protocols.