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 Winklehner · Dec 12, 2013 at 09:11 AM · crashmonocommand-line

Unity won't start from command line

I'm using scripting to let unity automatically generate iOS Assets. Everything is running fine in Unity 4.3.1, but every 4-5 time Unity won't start anymore giving me continuously the error below. The only workaround, is to shortly start Unity normal with GUI, immediately exiting it.

Any suggestions?

Thomas

 [Unity stdout] Initialize mono
 [Unity stdout] Mono path[0] = '/Applications/Unity/Unity.app/Contents/Frameworks/Managed'
 [Unity stdout] Mono path[1] = '/Applications/Unity/Unity.app/Contents/Frameworks/Mono/lib/mono/2.0'
 [Unity stdout] Mono config path = '/Applications/Unity/Unity.app/Contents/Frameworks/Mono/etc'
 [Unity stdout] Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,defer=y
 [Unity stderr] 2013-12-12 09:43:08.824 Unity[51721:507] NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be 'Editor', 'Viewer', 'None', or 'Shell'.
 [Unity stdout] Receiving unhandled NULL exception
 [Unity stdout] Launching bug reporter
 [Unity stdout] Obtained 30 stack frames.
 [Unity stdout] #0  0x00000097c127f0 in strlen
 [Unity stdout] #1  0x0000000134a960 in LicenseManager::AppendSystemInfoXML(std::string&)
 [Unity stdout] #2  0x0000000134e186 in LicenseManager::TransmitLicenseFile(std::string)
 [Unity stdout] #3  0x0000000134e316 in LicenseManager::QueryLicenseUpdate()
 [Unity stdout] #4  0x0000000134523f in LicenseInfo::QueryLicenseUpdate(bool)
 [Unity stdout] #5  0x000000011fa760 in Application::InitializeProject()
 [Unity stdout] #6  0x000000013aadbe in -[EditorApplication applicationDidFinishLaunching:]
 [Unity stdout] #7  0x000000970a1692 in __57-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke
 [Unity stdout] #8  0x0000009186b7e4 in __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__
 [Unity stdout] #9  0x0000009174d3fb in _CFXNotificationPost
 [Unity stdout] #10 0x0000009708febf in -[NSNotificationCenter postNotificationName:object:userInfo:]
 [Unity stdout] #11 0x000000944b87d5 in -[NSApplication _postDidFinishNotification]
 [Unity stdout] #12 0x000000944b8475 in -[NSApplication _sendFinishLaunchingNotification]
 [Unity stdout] #13 0x000000944b4da4 in -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:]
 [Unity stdout] #14 0x000000944b4691 in -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:]
 [Unity stdout] #15 0x00000092038304 in -[NSObject performSelector:withObject:withObject:]
 [Unity stdout] #16 0x000000970b03fa in __76-[NSAppleEventManager setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke
 [Unity stdout] #17 0x000000970aff31 in -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:]
 [Unity stdout] #18 0x000000970afd3b in _NSAppleEventManagerGenericHandler
 [Unity stdout] #19 0x000000974d8b15 in aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*)
 [Unity stdout] #20 0x000000974a7ed6 in dispatchEventAndSendReply(AEDesc const*, AEDesc*)
 [Unity stdout] #21 0x000000974a7dce in aeProcessAppleEvent
 [Unity stdout] #22 0x0000009390b7c1 in AEProcessAppleEvent
 [Unity stdout] #23 0x000000944b03a8 in _DPSNextEvent
 [Unity stdout] #24 0x000000944afad0 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
 [Unity stdout] #25 0x000000944a235c in -[NSApplication run]
 [Unity stdout] #26 0x0000009448b1f8 in NSApplicationMain
 [Unity stdout] #27 0x000000013bd31b in EditorMain(int, char const**)
 [Unity stdout] #28 0x000000013bd6c8 in main
 [Unity stdout] #29 0x000000000038b5 in start
 [Unity stderr] 
 [Unity stdout] * Assertion at mini-exceptions.c:1604, condition `err == 0' not met
 [Unity stdout] 
 [Unity stderr] Unhandled Exception: System.ExecutionEngineException: SIGILL
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

3 Replies

· Add your reply
  • Sort: 
avatar image
-1

Answer by vitaliytest · Sep 28, 2017 at 10:42 PM

Can someone help me find this Info.plist file in Unity 2017.01? I found one in /Applications/Unity/PlaybackEngines/iOSSupport/Trampoline but this one lacks the BundleTypeRole entry.

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 Bunny83 · Sep 28, 2017 at 11:42 PM 0
Share

Why do you post an answer to the question when you do not answer anything? if you have a question you should Ask a Question in the Help Room

avatar image
0

Answer by haim96 · Dec 12, 2013 at 09:23 AM

did you note this line: "NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be 'Editor', 'Viewer', 'None', or 'Shell'." ?

maybe the file "Info.plist" became corrupted between runs and running UNITY with gui fix it some how... just maybe. i'm PC user. :)

try to compere the content of it when it run OK and after you get the error.

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 Winklehner · Dec 12, 2013 at 09:50 AM 0
Share

Thanks for your suggestion! I modified the Info.plist of Unity, so that CFBundleTypeRole == None. So lets see what happens. On the other side during a successful run Unity shows the same warning but just afterwards ins$$anonymous$$d giving a "Receiving unhandled NULL exception" continuos to run the batch.

avatar image
0

Answer by Winklehner · Dec 16, 2013 at 01:39 PM

Setting the Info.plist to the correct BundleTypeRole makes the warning disappear, but the problem stays the same :(

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.

Follow this Question

Answers Answers and Comments

20 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

Related Questions

Unity3d 3.0.0f5 Crashs in User account but not admin account on OSX 10.6 1 Answer

Crashing on small number of Android Devices (can't load mono) 1 Answer

Unity standalone crash when lanughing on batchmode 0 Answers

Use .NET native dll calls 1 Answer

Internal compiler error 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