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 OtmNick · Apr 20, 2015 at 03:18 PM · crashmemorybuilds

Crash During Builds + Recommended Size of Resources Folder

Hi all,

Recently, we made a significant change to our project structure, and swapped a large number of meshes / textures from being built as asset bundles, to being directly included in the main Resources folder of the project and loaded directly via Resources.Load.

This change has been positive in a number of ways, except one; we are now unable to produce IOS builds via the editor on a Mac (100% fatal memory crash rate), and on Windows building Android targets fails about 50% of the time. Automated builds which run Unity in batch mode are fine for both platforms.

So we're obviously now hitting the 32-bit process memory limit during Editor-driven builds, which is a huge pain.

I really don't want to unwind this change and go back to making large-scale use of asset bundles. So, a couple of questions:

  • why the difference in memory overhead during the build process between prepping the streaming assets, versus using the resources folder?

  • What kind of size of Resources folder are people sticking to? We have a huge number of assets which have to be included (but which may never be loaded), so our Resources folder is now 1.5Gb in size on disk.

  • Do I have any other options other than cutting down the size / number of assets in this folder, or moving back to a streaming asset approach? Unity 5 is also not an attractive option at this point. Is there any plan to bring 64-bit support to Unity 4, ever?

edit Final question - I'm assuming that splitting this single Resources folder into multiple would have no effect on peak memory usage during the build?

Thanks all,

Nick

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

0 Replies

· Add your reply
  • Sort: 

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

19 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 avatar image

Related Questions

some builds crashes on level change 1 Answer

Crashing on Samsung S6, S6 Edge, and Galaxy Tab S 4 Answers

Instantiate fails on iPad. How can I debug memory allocation errors? 1 Answer

Unity crashes when GUI becomes too complex 1 Answer

Crash on Inspector during play 0 Answers


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