In the DCEU, Batman was played by Ben Affleck in Batman v Superman: Dawn of Justice and Justice League.
Robert Pattinson isn’t going to be the only Dark Knight in town when The Batman is released, as the plan at DC Films moving forward is to produce not just one, but two separate Batman movie franchises running simultaneously.
By contrast, DC Films wants two different versions of Batman to be leading their own live-action movie series with no apparent connections to one another.
Affleck’s exit from the DCEU is also what led to The Batman morphing into a self-contained story with a new actor.