Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by casimps1 · Nov 20, 2013 at 10:42 PM · 2dbuildsize4.3

Should build of a 2D project using the new 2D features in 4.3 be smaller than a 3D project?

I've started experimenting with the new native 2D tools included in Unity 4.3.

I was under the impression that for game projects using only the new 2D features, Unity could strip out all the extra libraries/frameworks/etc necessary for 3D games. This would result in smaller build sizes I had hoped.

However, I just did a test of generating an Android APK for two brand new empty projects, one created in 2D mode, one in 3D mode. Both builds ended up exactly the same - a little less than 8MB.

Am I missing something? Should I expect Unity to be generating different sized builds in this situation? Or are all the 2D libraries and 3D libraries both included in all builds now?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by OP_toss · Nov 20, 2013 at 10:53 PM

The 2D stuff is just a system to use 3D stuff in a way that appears 2D. It's not actually 2D, as you can see in the Scene view. It's a fake that allows you to create 2D and 3D stuff that interact, and are rendered through the same exact pipe. So no, I doubt they could actually remove any libraries or functionality as they are essentially both 3D.

Please correct me if I'm wrong, I haven't got a chance to dive into 4.3 yet.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image casimps1 · Nov 21, 2013 at 02:14 PM 0
Share

well, I remembered reading that the 2D Physics would be using the box2d library. That made me assume that they would be able to strip out whatever 3D physics (and maybe other 3D code) they had for 2D builds. $$anonymous$$aybe that's not the case though... It's starting to sound like it's just an alternate mode for the editor, physics, and rendering.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

18 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Why my game app is so big? 2 Answers

Cant change resolution size of build/exe 0 Answers

Distribute terrain in zones 3 Answers

sprite vs texture 1 Answer

What's the correct way to bring a 2d gameobjects that collide with each other, from the background into the foreground? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges