Ped spawn limit

Hello, I am developing a resource for a zombie script in GTA5/FiveM and I have run into issues with spawning peds. Specifically, when I try to spawn more than 110 peds around the player, some peds start to despawn to keep the number around 110. I am wondering if this is a hard limit in the game or in FiveM. Additionally, I have heard that using Onesync Infinity might increase the entity limit, but I am not sure if this is true. Can you provide any insight or guidance on this issue? Thank you.

Update:
Found out that this code not NetworkGetEntityIsNetworked(Zombie) returns true after 110 and deleted my peds.

This is my experience as well, good news is the following will check to see if you’ve hit this limit and prevent weird stuff. Not clear on whether this is an intended limit or what.

CanRegisterMissionEntities(1, 0, 0, 0)

it seems this checks the limit:

GetMaxNumNetworkPeds()