Do empty game objects get included in a build?

I have a few UI groups based on my target platform’s aspect ratio and I was wondering if having them in the scene but disabled would affect anything. They aren’t prefabs, just groups under an empty in the hierarchy.

Yes they are included but wont affect that much to anything. If they are only for editing purposes you can tag them as editor only.

Yes, they’re included. Each one will take up about 72 bytes, IIRC.

1 Like

72 KB?!?! That’s craaaaaaazy!

Bytes not KB’s… :smile:

WHAT?!?! 72 MB?!?!?! THATS EVEN WORSE!

edit: yes I know, Im just joking around :smile: :smile: :smile:

4 Likes

Oh. Are they included if they’re tagged editor only?

Is there a way to swap them around (possibly with the editor only tag) so I can use different ones that aren’t included in each other’s builds? If not, it’s no big deal. I mean some old school programmers might get on my case about optimization but a few phones from now we’ll have that tegra chip. 1Tflops. On mobile. lol.

I’d probably be at almost 2kb then. This menu has many pages.

1 Like