Removing Un-needed Components.

Hey guys, I’ve been wondering, lets say I Import a model a (static) model that just sits there, I don’t know, like a building lol.

Well anyways, does removing stuff such as (Animator Component) make the game run faster?
I mean I obviously don’t need it, and it makes sense to remove un-needed stuff.

But is it actually really needed for Optimization-wise?

I’m not sure. I would think that an animation that isn’t used doesn’t really do anything though.

Yeah I would think so as well, but technically, the component would have to be loaded as well, and it might keep reading the component.

I don’t know though, figured it would be something worth talking about, because yeah it might be the most minimal thing to think about, but that extra 0.002% of overhead is one less thing I have to worry about with adding up, at least mobile phone wise.

I mean I’m sure it’s not much at all whatsoever, but I could be wrong. lol.

I always make sure to remove anything that isn’t actually being used, and every few days I do a “Spring cleaning” on a project while I’m working on it. No idea if the additional unused components add to the overhead or not (I imagine they would in some way), but I like to keep everything super tidy as I work.

I believe it’s used just when the object becomes enabled (and each time it becomes enabled), if you don’t have an actual animation clip assigned. So yeah, a slight performance hit each time.

I think I read it somewhere.

Haha yeah I am the same exact way!

I try to remove everything I dont need upon Import but sometimes I’m just to lazy to do it haha.
But yeah, I love to keep things organized, that’s one reason why I never finish a game, I’ll end up with 20,000 files and start becoming unorganized and lost lol.

Yeah I could believe it, well, I’ll still stick to removing un-needed stuff LOL.

1 Like