Issue was possibily being caused by duplicating a light even when that light was not in the render_light_instances array. (cherry picked from commit 545bf86d39)
545bf86d39