• 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 Nils Hofmeister · May 09, 2011 at 09:16 AM · freezebatchmode

Unity batch mode process freezes

Hi,

I have a strange problem: I am trying to do automated builds of unity projects using batch mode. Platform is Windows 2008 Server R2. Unity Version is 3.3. Batch mode is called via Ant.

So what happens... from time to time, the Unity process will freeze for no obvious reason. Having a look at the produced assets, it seems everything is done. Still, Unity process will deadlock(?) forever, at 0% CPU load. There are no logs, system events or anything else that could help.

Did any of you have similar problems? I would be happy about any hint.

Best, Nils

Comment
Add comment · Show 8
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 KvanteTore · Nov 09, 2011 at 07:47 AM 0
Share

I have the same problem, also running Windows Server 2008 R2, but Unity Version 3.4 and batch mode called from a windows batch script executed from jenkins.

avatar image tonyfunc · Jan 07, 2014 at 12:46 AM 0
Share

I am having exactly the same problem on Windows Server 2012. Always freezes at "Used Assets, sorted by uncompressed size:" process. Ugh this is painful.

avatar image OP_toss · Jan 07, 2014 at 01:20 AM 0
Share

Did you use the "-quit" argument to auto-quit the process upon completion??

http://docs.unity3d.com/Documentation/$$anonymous$$anual/CommandLineArguments.html

avatar image tonyfunc · Jan 15, 2014 at 06:04 AM 0
Share

In my case, yes I do have "-quit" in my command.

avatar image tonyfunc · Jan 15, 2014 at 06:22 AM 0
Share

Quite interesting. I've set up exactly the same command line build on Windows 7 and it works just fine.

Show more comments

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by gekidoslair · Mar 22, 2014 at 10:07 PM

running into the same thing - jenkins build is stuck at the exact same step, it lists all of the used assets, but never completes. unity sits there at 0% usage forever until I kill the process.

I'm in Windows 8.1 for what it's worth....

The same editor script works fine from in the editor (I have it attached to a menu item as well, so I'm sure it's not the editor script).

Comment
Add comment · Show 2 · 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 FunCreative · Mar 24, 2014 at 01:33 AM 0
Share

Try it on Windows 7. That solved my problem.

avatar image yoyo · Jul 29, 2015 at 11:23 PM 0
Share

I'm having very similar problem on Windows 7. :P

avatar image
0

Answer by AFrisby · Jan 27, 2017 at 03:28 AM

Am able to report the same thing happening too with 5.5.1

Comment
Add comment · 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

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

9 People are following this question.

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

Related Questions

Scene View Problems 0 Answers

Unity crash problem 2 Answers

Web Player crashes in Pause Menu 1 Answer

Can unity plane "freeze" transformations? 0 Answers

using particleEmitter Simulate 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