Hello here !
I'm new to Unity (following a french formator called Anthony) and after many "tuto-projects" I'm trying to create my own.
The project is quite simple: a simple clone of Ultimate Epic Battle Simulator.
There is two army (one of each team). With plenty of players. Those are controlled by NavMeshAgent and a Targeting script.
This is working very nice ! But, when I reach above +100 players, the RAM is blowing and the game crash.
I've try to disable ALL scripts and behavior (NavMeshAgent, Animator). But this is still the same issue.
Today I've only 16Gb of RAM. Seems pretty poor for this kind of game. But, I think there is some concepts of optimisation I miss.
I found many videos about optim in Unity. They are very complex for my level right now and not very accurate. So if you have any ideas of concept/tricks I can check on Google, it could be cool 🙂