One workaround is to change the import statement at the top of the file to

@preconcurrency import RealityKit

although that's a little unsettling

Comments