Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Unity crash when opening a project

Discussion in 'Editor & General Support' started by Simon75012, Nov 30, 2016.

  1. Simon75012

    Simon75012

    Joined:
    Sep 15, 2016
    Posts:
    79
    Hi,
    I'm working on several project and i can't open one of them since few hours and i don't understand what's going on.
    I'm working on MAC and unity 5.4.2.f2

    The last thing i did before the project crash was to paste a quite long text in a ScrollView Content TextMeshPro component.
    I check the text after, and i don't see any problem with it. There are some "<b>abc</b>" "\n" (\n are actually useless in this field, but i don't think it can make it crash...)
    I click run...


    I looked at my editor.log file. There is the end :

    Code (CSharp):
    1.  
    2. Registering platform support modules:
    3. Platform assembly: /Applications/Unity/Unity.app/Contents/Mono/lib/mono/2.0/Boo.Lang.Compiler.dll (this message is harmless)
    4. Platform assembly: /Applications/Unity/Unity.app/Contents/Mono/lib/mono/2.0/Boo.Lang.dll (this message is harmless)
    5. Platform assembly: /Applications/Unity/Unity.app/Contents/Mono/lib/mono/2.0/Boo.Lang.Parser.dll (this message is harmless)
    6. Platform assembly: /Applications/Unity/Unity.app/Contents/Mono/lib/mono/2.0/UnityScript.Lang.dll (this message is harmless)
    7. Registered platform support modules in: 0.052843s.
    8. Native extension for OSXStandalone target not found
    9. Native extension for WindowsStandalone target not found
    10. Native extension for WebGL target not found
    11. Native extension for iOS target not found
    12. Native extension for Android target not found
    13. Validating Project structure ... 0.026499 seconds.
    14. Refresh: detecting if any assets need to be imported or removed ... Refresh: elapses 0.078934 seconds
    15. Refreshing native plugins compatible for Editor in 1.81 ms, found 2 plugins.
    16. Preloading 0 native plugins for Editor in 0.00 ms.
    17.  
    18. ----- Total AssetImport time: 0.052371s, AssetImport time: 0.000000s, Asset hashing: 0.000000s [0 B, 0.000000 mb/s]
    19.  
    20. Warming cache for 3271 main assets: 0.009329 seconds elapsed
    21. Initializing Unity extensions:
    22. '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/UnityAnalytics/UnityEngine.Analytics.dll'
    23. '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll'
    24. '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/Networking/Editor/UnityEditor.Networking.dll'
    25. '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/TreeEditor/Editor/UnityEditor.TreeEditor.dll'
    26. '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/EditorTestsRunner/Editor/UnityEditor.EditorTestsRunner.dll'
    27. '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/Networking/UnityEngine.Networking.dll'
    28. '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/Advertisements/Editor/UnityEditor.Advertisements.dll'
    29. '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/GUISystem/Editor/UnityEditor.UI.dll'
    30. '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/UnityPurchasing/UnityEngine.Purchasing.dll'
    31. '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/EditorTestsRunner/Editor/nunit.framework.dll'
    32. '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/Advertisements/UnityEngine.Advertisements.dll'
    33. Load scene 'Assets/Scenes/main.unity' time: 0.008718 ms
    34. Cancelling DisplayDialog because it was run from a thread that is not the main thread: Opening file failed Opening file /Users/Leo/Appli mobile/UNITY/101fitness/101 Fitness/sharedassets0.assets.resS: No such file or directory
    35.  
    36.  
    37. (Filename: /Users/builduser/buildslave/unity/build/Editor/Platform/OSX/EditorUtility.mm Line: 798)
    38.  
    39. Force Quit pressed for Opening file failed: Opening file /Users/Leo/Appli mobile/UNITY/101fitness/101 Fitness/sharedassets0.assets.resS: No such file or directory
    40.  
    41. (Filename: ./Runtime/Utilities/RetriableOperation.h Line: 103)
    42.  
    43. Receiving unhandled NULL exception
    44. Launching bug reporter
    45. Obtained 25 stack frames.
    46.  
    47.  
    Look to have an error with "sharedassets0.assets.resS: No such file or directory" (i have no idea what it is)

    I duplicate my project and try to delete all folder and files exept the asset folder. I succeed to open the project but it open the project on a new scene. Unity crash when i double click to open an other scene. The log file is full of "The class ..... could not be loaded ...."

    What should i try to make my project run again?

    Thanks
    Leo
     
    Last edited: Nov 30, 2016
  2. Dave-Carlile

    Dave-Carlile

    Joined:
    Sep 16, 2012
    Posts:
    967
    Close Unity, make sure you have a backup of the project, then delete the Library folder. Reopen the project and Unity will rebuild the Library folder. This *may* fix the issue.
     
    GeorgGrech, dhwanit-z and Zeriver like this.
  3. Simon75012

    Simon75012

    Joined:
    Sep 15, 2016
    Posts:
    79
    I just try it.
    Unity crash again while "Importing small asset"


    Look like to be the same error on the log file :
     
  4. tsibiski

    tsibiski

    Joined:
    Jul 11, 2016
    Posts:
    569
    Try blasting away Unity altogether, and redownloading. Then, re-open your project files (obviously save the files when you get rid of Unity).

    Let's guarantee that it isn't a corrupted App first. This will help narrow it down.
     
    DAlturG likes this.
  5. Simon75012

    Simon75012

    Joined:
    Sep 15, 2016
    Posts:
    79
    blasting = uninstall?
     
  6. tsibiski

    tsibiski

    Joined:
    Jul 11, 2016
    Posts:
    569
    Yes. Uninstall all but the project in question, then reinstall and open the project in the fresh installation.
     
  7. Simon75012

    Simon75012

    Joined:
    Sep 15, 2016
    Posts:
    79
    I just unistall then install the last Unity 5.5
    I got the same error in the editor.log file :(
     
  8. Sarrivin

    Sarrivin

    Joined:
    Dec 18, 2015
    Posts:
    24
    Hi. I had some problems with a havy new-UI project since upgrading to Unity 5.5 today on Mac Yosemite. Seems it was mostly fault of a few things:
    1. Needed to delete and freshly install Unity. That didn't fix the problem with Unity hanging indefinitely, which occured when I changed the scenes or just normally used UI in scenes. It only fixed weird things like clicking Lightning window and seeing Unity open RagDoll (what the heck :D) and not openning Occlusion Culling at all.
    2. Then I set Unity Editor layout to default, because Unity almost always crashed when I saved my own profile. I got saved, but I needed to reopen Unity. So I just set layout to default then...
    3. Disabled Profiler. Most likely Profile was causing really, really frequent, almost instant hanging of Unity, so I had to force it to close.

    Not sure that will help you though, I see you didn't even upgrade... But good to know, I'll be buying that asset too.
    Yet in case you have similar problems, maybe that solves them. Seems somewhat stable since, well, 15 minutes - and that's really long already, before it crashed very quickly.
     
  9. Simon75012

    Simon75012

    Joined:
    Sep 15, 2016
    Posts:
    79
    I did upgrade to 5.5 this morning. But the same error occurred. I just switch to default layout and logout my unity account to work offline. No change, Same error with :

    Force Quit pressed for Opening file failed: Opening file /Users/Leo/Appli mobile/UNITY/101fitness/101 Fitness/sharedassets0.assets.resS: No such file or directory
     
  10. Sarrivin

    Sarrivin

    Joined:
    Dec 18, 2015
    Posts:
    24
    Is Unity Bug Reporter working for you? It's a different app in the same folder. If so, sumbit a bug with that template:
    https://unity3d.com/unity/qa/bug-reporting

    For me, Unity Bug Reporter crashes on Mac. At start, so can't really run it. Probably bugged bug reporter.
     
  11. Simon75012

    Simon75012

    Joined:
    Sep 15, 2016
    Posts:
    79
    I already send the bug report manually with my full project and log file.
    I have no idea how long they'll need to check it. It's the first time i send a bug report.
     
  12. Simon75012

    Simon75012

    Joined:
    Sep 15, 2016
    Posts:
    79
    Sarrivin likes this.
  13. APSchmidtOfOld

    APSchmidtOfOld

    Joined:
    Aug 8, 2016
    Posts:
    4,473
    Reading your first post, you already suspected that the problem came from that text you added to the TextMeshPro. You suspected that it was too long. :)
     
    Last edited: Dec 1, 2016
    Sarrivin likes this.
  14. Aadharsahni

    Aadharsahni

    Joined:
    Jan 29, 2018
    Posts:
    4
    I found the solution. If anyone still needs help let me know
     
    xrspachermann likes this.
  15. oriontolkki

    oriontolkki

    Joined:
    Nov 12, 2017
    Posts:
    1
    I think my version of Unity 2017.3.1f1 has the same problem can you please help?

    I had originally successfully installed and worked on this version for a while, but I stupidly tried to install and run Unity 4.7.2 because I was hoping to access a couple of projects built in that older version while still having the newest version installed. Now my 2017 version doesn't work, it always crashes instantly even on an empty project.

    I have removed the older Unity v.4.7.2 and tried to re-install Unity v.2017.3.1f1 but no luck!
     
  16. MeTx

    MeTx

    Joined:
    Mar 15, 2018
    Posts:
    8
    Im still getting the problem as well :(
     
  17. LemonyMarker1

    LemonyMarker1

    Joined:
    Apr 14, 2018
    Posts:
    2
    When I open my unity project and it idle for about 5mins it crashes unknowingly ,I reinstalled multiple times,gave up on it.I'm now spending time in blender.
     
  18. LemonyMarker1

    LemonyMarker1

    Joined:
    Apr 14, 2018
    Posts:
    2
    What's the solution.Contact me beeruzgaming@gmail.com. I would like to talk more about my unity crash problem when it idles for about 5mins and crash unknowingly
     
  19. NIEO38

    NIEO38

    Joined:
    Jul 24, 2018
    Posts:
    1
    Can you tell me please
     
  20. APSchmidtOfOld

    APSchmidtOfOld

    Joined:
    Aug 8, 2016
    Posts:
    4,473
    Well, what about posting your solution here?
     
  21. dufensmurts

    dufensmurts

    Joined:
    Oct 5, 2019
    Posts:
    1
    I really need help, my unity installation is giving me the same problem.
     
  22. lihail123

    lihail123

    Joined:
    Feb 4, 2020
    Posts:
    9
    It would be extremely helpful if you could post it here :)