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 JOKER_LD · Aug 13, 2019 at 07:49 AM · crashcrash logcommand-linebatchmode

Unity standalone crash when lanughing on batchmode

Unity Version: 2018.1.0f
OS: windows10
I get everything fine when normally start the standalone build by double click the exe file. But I often get crashed when starting the exe using "%UNITY_BUILD_EXE% -batchmode" command, and what makes me mad is that the command sometimes works fine while in most time it crashed. That's really strange. When the game running successfully. It looks like that, I manually call Application.Quit(), then it print "Game Complete" and quit the game. Everything is fine.
(1) Normal case

 Game Complete!
  
 (Filename: D:\unity\Runtime/Export/Debug.bindings.h Line: 43)
 
 Setting up 4 worker threads for Enlighten.
   Thread -> id: 4580 -> priority: 1 
   Thread -> id: 4e14 -> priority: 1 
   Thread -> id: 4334 -> priority: 1 
   Thread -> id: 46dc -> priority: 1 



When the game crashed, it still executes Application.Quit() method and quit the game but the unitycrash window pop up and the return code in command line is -1073740791. The output log are following.

(2) Bad Case


 Game Complete!
  
 (Filename: D:\unity\Runtime/Export/Debug.bindings.h Line: 43)
 
 Setting up 4 worker threads for Enlighten.
   Thread -> id: 2d24 -> priority: 1 
   Thread -> id: 4b7c -> priority: 1 
   Thread -> id: 44a8 -> priority: 1 
   Thread -> id: 2bb0 -> priority: 1 
 Received abort signal from the operating system
 Stack trace:
 0x00007FFC08F62FED (UnityPlayer) 
 0x00007FFC08F68CFF (UnityPlayer) 
 0x00007FFC08A9B40D (UnityPlayer) 
 0x00007FFC08A3624F (UnityPlayer) 
 0x00007FFC0956D40E (UnityPlayer) UnityMain
 0x00007FFC0955C330 (UnityPlayer) UnityMain
 0x00007FFC0958C72D (UnityPlayer) UnityMain
 0x00007FFC08A089B0 (UnityPlayer) 
 0x00007FFC08A0F5A8 (UnityPlayer) 
 0x00007FFC08A0CDE1 (UnityPlayer) 
 0x00007FFC08F87444 (UnityPlayer) UnityMain
 0x00007FFC08A0EF7C (UnityPlayer) 
 0x00007FFC08F9E6F8 (UnityPlayer) UnityMain
 0x00007FFC08F9E4ED (UnityPlayer) UnityMain
 0x00007FFC08F9E664 (UnityPlayer) UnityMain
 0x00007FFC08A0EF20 (UnityPlayer) 
 0x00007FFC08F7D7ED (UnityPlayer) 
 0x00007FFC08F7E49E (UnityPlayer) 
 0x00007FFC08F7E60B (UnityPlayer) UnityMain
 0x00007FF625161207 (out) 
 0x00007FFC844D7974 (KERNEL32) BaseThreadInitThunk
 0x00007FFC84D2A271 (ntdll) RtlUserThreadStart





Comment
Add comment · Show 1
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 JOKER_LD · Aug 13, 2019 at 07:57 AM 0
Share

Plus the unity I use is 2018.1.0f

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

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

Related Questions

Unity editor crash Problem "Access Violation (0xc0000005)" 3 Answers

Appodeal Anr onAdFailedToLoad 0 Answers

Linux editor attempting to connect to X even in batch mode with -nographics. 0 Answers

Unity 4.1.5 crashing when building Win Standalone - Too Many GameObjects? 0 Answers

App crash on Android device but not in the editor 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