after the environment of Pathtracer is set once, change the environment of scene to null.
when pathtracer is executed again with the environment null, it does not set the environment intensity because it is the same as the previous environment, and the old environment of the scene is rendered.
Reproduction Paths
Solution Always reset environment intensity