1 (edited by tobiworonko 2023-01-31 18:07:02)

Topic: Dozens of characters impact on performance using rollback

I modified the source-code pretty heavily and I have each character able to spawn multiple assists at once.

I wanted to ask if anyone knows the possibile impact on performance if each character theoretically had dozens of assists spawned at the same time. Considering rollback needs to be able to calculate a couple frames each frame. Graphics I use are 2D (although I don't think that matters for this case).

Share

Thumbs up Thumbs down

Re: Dozens of characters impact on performance using rollback

I don't fully understand the way unity loads things into memory.
Generally if there is a reference to something it's loaded into memory!

I haven't tested that specific case you brought up, but it could be trouble.
Since your using 2D sprites, look into Sprite Atlas it's a life saver: https://docs.unity3d.com/Manual/class-SpriteAtlas.html

Share

Thumbs up Thumbs down