Is spawning 7 actors and destroying a bad practice?
MillionairApps
Member Posts: 110
Hello everyone,
Just another question,
Spawning and destroying actors have always been avoided cause of the memory usage and all the rest.
I was wondering though, if the engine had improved with dealing with spawning and destroying actors, cause at the moment I can't seem to recycle the actors so this may be my only option.
So if 7 actors are spawned every second and 7 are destroyed every second, would the game crash after a while, how long would it last? Is it a good practice or should I invest 100% of my time figuring out how to recycle.
If you have any experince or games that spawn heaps feel free to let me know.
Thanks
Just another question,
Spawning and destroying actors have always been avoided cause of the memory usage and all the rest.
I was wondering though, if the engine had improved with dealing with spawning and destroying actors, cause at the moment I can't seem to recycle the actors so this may be my only option.
So if 7 actors are spawned every second and 7 are destroyed every second, would the game crash after a while, how long would it last? Is it a good practice or should I invest 100% of my time figuring out how to recycle.
If you have any experince or games that spawn heaps feel free to let me know.
Thanks
Comments
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
As you are only dealing with 7 actors would it not just be quicker to just set it up and test it ? Let it run for a while and monitor the RAM usage ? Probably quicker than typing out your post ?
I don't really keep up to date with these stuff unless if directly affects me, so apologies if its so simple
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
@FryingBaconStudio Agree with you there, take half a year off and everything has changed dramatically. Thanks for the help.
Why do you want to know how many were spawned a second ?