Engine Error : ED_Alloc: no free edicts

Discussion in 'Mapping Questions & Discussion' started by FishyUberMuffin, Dec 2, 2018.

  1. FishyUberMuffin

    FishyUberMuffin War Paints Everywhere

    Positive Ratings:
    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?

  2. Harritron

    Harritron L4: Comfortable Member

    Positive Ratings:
    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
    • Agree Agree x 2
    • Thanks Thanks x 1
  3. henke37

    aa henke37

    Positive Ratings:
    A common beginner mistake is to use dynamic props where static props are more appropriate.