Engine Error : ED_Alloc: no free edicts

FishyUberMuffin

War Paints Everywhere
Apr 26, 2015
954
186
I loaded up the max amount of bots into a custom map that I work on, I added more detail and new routes, close some off, and changed a lot of. So when I do place the bots into the map the game crashes as gives me the ED_Alloc error. Why is this happing?

Capture_ed.PNG
 

Harritron

L4: Comfortable Member
Feb 26, 2017
167
83
You have too many entities placed in your map, and because of that, when you load bots into the map, the engine will overflow. The max amount of “edicts” that the engine can handle is 2048, and any more than this number will crash the engine.

The only fix to this is to reduce the amount of entities in your map. Do you have excessive amounts of point_spotlights or other visual effects like env_lightglow? Because it is extremely easy to flood the engine with these, and these would be the first thing I would scale back on.

For more information on Edicts: https://developer.valvesoftware.com/wiki/Entity_limit
 

henke37

aa
Sep 23, 2011
2,075
515
A common beginner mistake is to use dynamic props where static props are more appropriate.