Is there a limit to how many interaction entities you can spawn?

I have a datapack that requires interaction entities, at the small scale it works perfectly fine, but at the larger scale it just stops spawning entities, is there something in minecrafts code overriding what I'm doing?
Continue to help post