Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
1
Question by AlindBack · Sep 14, 2016 at 12:33 PM · scripting problembuildcrash

Unity 5.4.1 Build Process Crashes While Building Scene

I have a project that has multiple scenes with over 1,000 scripted objects in each. After much trial and tribulation I was able to get the project to build past the first large scene (There are two small scenes that always seem to build just fine before getting to the large scenes.) but now I don't seem to be able to build the next scene.

When the build process fails and crashes to desktop it always does so just after finishing the light baking processes. Reflection Probes flashes briefly on the screen just before the crash, and the log indicates that the probes finish properly. However, the log does not seem to indicate anything failing.

So, are scenes with thousands of scripted objects simply not buildable in Unity, or is there something else that must be causing the problem, because at this point I'm starting to worry that this project may need to take a totally new direction.

Comment
Add comment · Show 5
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 Sergio7888 · Sep 15, 2016 at 01:29 AM 0
Share

You can only use 5.4.1? You can't update your version of unity first? You can't use a small main scene with other small scenes loaded Additive?

avatar image AlindBack Sergio7888 · Sep 15, 2016 at 07:27 AM 0
Share

I'm not sure I fully understand all of your questioning, but as far as I'm aware Unity 5.4.1 is the latest non-beta version of Unity currently out. I have tried building in 5.3.5 as well and got the same result.

Currently I have two small scenes that build first, successfully, and then large scenes afterwards, of which the second one is now failing to build and causing the editor to crash to desktop. I have not tried loading additive, so that may be something I'll have to look into, but it may not be an ideal way to go due to how the game is currently set up.

avatar image Sergio7888 AlindBack · Sep 15, 2016 at 08:07 AM 0
Share

Sorry, I confused the version number.

avatar image jrodenburg_ncsoft · Oct 04, 2016 at 07:25 PM 0
Share

I have a similar issue... our game will run in editor, but when building the AP$$anonymous$$ the build will crash Unity while building the scene.

avatar image lodendsg · Nov 27, 2016 at 08:08 PM 0
Share

We have had this issue in the past, and it has cropped up again for us. We have a large game and a moderately complex scene. We know Unity can build it as it has built it before.

Last time we had the issue we never found a root cause, we worked with Unity via bug reports, cleared cashes, reimported assets, moved the project between disks and bounced around versions of Unity available nothing did anything to correct it. At some point the constant poking and proding resolved the issue and we where able to build ... happy days sure but no idea what corrected the issue much less what caused it.

The issue is back again ... no idea why, I suspect the issue has to be with something Unity uses that we dont normal see, e.g. a setting in a file somewhere, some bit of cashe data, something more or less hidden that isn't directly effected. I have no idea what that something is, nor any idea on how to debug this in any kind of intelligent way.

I can say Unity can handle complex scene's ... and that this issue doesn't seem related to complex projects ... we have had the issue in the past with pretty simple scenes. If you google Unity build crashes on scene 0 you will find others with similar problems. We have yet to find anything meaningful on how to correct the problem or even what causes the problem.

Anyone have any guidance here?

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Distribute terrain in zones 3 Answers

Web player build crash on new scene load. 0 Answers

Script works in Game View, but not in build 0 Answers

iPhone game turns off unexpectedly 1 Answer

Game Crash When Changing Scene 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