Nainstalovat Steam
přihlásit se
|
jazyk
简体中文 (Zjednodušená čínština)
繁體中文 (Tradiční čínština)
日本語 (Japonština)
한국어 (Korejština)
ไทย (Thajština)
български (Bulharština)
Dansk (Dánština)
Deutsch (Němčina)
English (Angličtina)
Español-España (Evropská španělština)
Español-Latinoamérica (Latin. španělština)
Ελληνικά (Řečtina)
Français (Francouzština)
Italiano (Italština)
Bahasa Indonesia (Indonéština)
Magyar (Maďarština)
Nederlands (Nizozemština)
Norsk (Norština)
Polski (Polština)
Português (Evropská portugalština)
Português-Brasil (Brazilská portugalština)
Română (Rumunština)
Русский (Ruština)
Suomi (Finština)
Svenska (Švédština)
Türkçe (Turečtina)
Tiếng Việt (Vietnamština)
Українська (Ukrajinština)
Nahlásit problém s překladem
The engine seems to use resource pooling for entities, which should help a lot when spawning an killing many entitites. I'm guessing the issue comes from when you spawn a lot of entities simutaneously, and then kill them. Spawning the entities would cause the engine to allocate a lot of memory to the entity pool, but killing them won't immediately release the memory. The engine probably does gradual reclamation of the unused resources to not produce hitches, and guessing it fails if it goes idle and does everything at once when it comes back.
Not sure if there is nay reliable way of preventing it. Generally trying to keep the number of entities in the world relatively constant might help.
If you are using a lot of utility entities, it might also help to use VScript instead. A lot of things like logic entities, sound and effects and be replaced with script functions.