Actors hidden in game and performance

I’ve answered this in a couple other places but Actors take up nearly 1KB while Objects take up about 56 bytes. That’s a pretty big difference. It doesn’t make sense for me to use Actors to represent an item slot for an inventory system. Not even for the inventory container itself, Object would be much better suited just on the data used alone. But really. If you want to optimize it properly using a struct may help. Even better if you can do this in c++ and be careful about your data usage. Only use the functionality you need from ue4, and avoid all the rest. If you need to optimize that’s the approach necessary. If your game is small scale then it doesn’t matter though.

1 Like