UE5

Most important parts for game optimization - Checking Assets File Size

게임 개발 2024. 6. 11. 00:04

 
 
Checking Assets File Size is Most important parts for game optimization.
So, I am going to make a post about it.
 
We are going to learn how to check the file size of the assets,
because we don't want to use assets that are too larget in size,
especially if you want to use those assests often,
such as shooting projectiles.
 

 
 
Let's open our content dryer and trun on the casecde particle system or niagara system filter.
Aad now we see all the particle effects assets available to choose from.
 

 
 
Let's see how much does this cost?
When i say cost, i mean how large is this file and how heavy this file is for our system.

 
you go to size map.
And now we are checking the file size of this asset.

 
 
so this is the total memory of 17.4MB.
 

 
 
On the top right side we have disk size.
So this is how much is going to cost on the disk.
So every time when you're using this asset it's going to cost 17.4MB on the disk.
And click this dropdown.
Select Memory Size and 9.3MB in the memory.

 
 

 
If this asset was, let's say 200MB.
So every time when you're using this asset you're going to load
the memory for this much a bit too much for the system.
 
So for best performance we should use less than 80MB both disk size or memory size.
If you have, for example,
many projectiles spawning in a very short amount of time, like every half a second.
And if this is 150MB, it going to be too much for the system.
 
So We must Keep this in mind, 
again, this post is every time when you're using asset we should check how big that asset is.