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 crashing on asset import

Discussion in 'Editor & General Support' started by derkoi, Dec 6, 2012.

  1. derkoi

    derkoi

    Joined:
    Jul 3, 2012
    Posts:
    2,237
    This has happened to me since around 3.4 on and off. It's still happening in Unity 4 :-|

    I import unitypackage files either from my hard drive or downloaded from the asset store and randomly Unity crashes.

    Anyone else having this issue, a search didn't bring anything up.
     
  2. Jaimi

    Jaimi

    Joined:
    Jan 10, 2009
    Posts:
    6,171
    I've had this happen when I was low on RAM.
     
  3. derkoi

    derkoi

    Joined:
    Jul 3, 2012
    Posts:
    2,237
    My system has 8gb of ram, less than half is being used normally.
     
  4. CalebFnord

    CalebFnord

    Joined:
    Nov 21, 2012
    Posts:
    7
    Happens to me, Unity 4.0, every time when importing NGUI, either local or "from store" (also uses local package, I think).
     
  5. SteenLund

    SteenLund

    Unity Technologies

    Joined:
    Jan 20, 2011
    Posts:
    639
    Can you please file a bug report and include the package that makes it crash?

    Best regards
    Steen
     
    LomarStudios likes this.
  6. lockbox

    lockbox

    Joined:
    Feb 10, 2012
    Posts:
    519
    Just a couple of notes from my experience today..

    • The decompression and import utility doesn't check disk space as it's working, so if a drive runs low on space, it doesn't error out.
    • On my older development computer, upon importing the mecanim example complete scenes package, it pegged the CPU at 100% for several minutes. The system was usable, but I would only see the Unity progress bar a few times during the entire process. I don't know what it's doing as it's importing fbx files, but it's very busy doing something. After what seemed like a very long time, it did finish and I was able to try all the examples without any problems. Performance was not an issue.
    • There was no bug report to file, because in my case, it never crashed. It would either hang (insufficient disk space) or just seem to hang.
    Anyway....I have to two recommendations:
    1. Test importing the mecanim examples scene on some computers with older processors.
    2. Test importing the same package onto a drive with insufficient disk space.

    Have the system requirements for Unity changed? That would be something that is good to know.

    Cheers
     
  7. crafTDev

    crafTDev

    Joined:
    Nov 5, 2008
    Posts:
    1,818
    So I've been having this problem because I don't have any choice but to upgrade to OS Lion since I need to be able use Xcode to build to iOS. I have a mid 2007 MacBook that I just upgraded to Lion. I've had this problem before, making me revert back to snow leopard where the asset importer won't crash and lock up the whole system. I'm not sure if its a CPU issue since importing stuff sends the CPU sky high for the whole time. When i restart the mac thats when unity tells me the asset importer failed to import something. Are the requirements for Unity different when it comes to Lion OS compared to Snow Leopard OS?

    Buying a new MacBook is not an option of course(even though there are people here with newer models having the same problem so what difference does it make...)
     
  8. Alexey

    Alexey

    Unity Technologies

    Joined:
    May 10, 2010
    Posts:
    1,602
    i doubt forum users will be able to help you with that (esp. since you dont provide any details).
    Please, bug report with repro project and as much info as possible.
     
  9. crafTDev

    crafTDev

    Joined:
    Nov 5, 2008
    Posts:
    1,818
    Hey Alexey. I don't have a repro project, since the crashing also happens when I import into an empty scene, I don't exactly how to repro.
     
  10. Alexey

    Alexey

    Unity Technologies

    Joined:
    May 10, 2010
    Posts:
    1,602
    but you DO import something into an empty scene? ;-)
    So attach this to bug report
     
  11. fgielow

    fgielow

    Joined:
    Jan 3, 2012
    Posts:
    122
    Same things is happening to me, really annoying.
     
  12. Alexey

    Alexey

    Unity Technologies

    Joined:
    May 10, 2010
    Posts:
    1,602
    guys, seriously, stop whining and bug report. If you have "something failed to import" check FailedAssetImports.txt in Library folder.
    Grab empty project and drop here (and change import settings if needed).
    I mean - we CANT fix something we dont see ourselves
     
  13. M4R5

    M4R5

    Joined:
    Apr 11, 2013
    Posts:
    33
    I cannot submit a bug report because whenever I do it says, "Failed to Report", or something of the sort.
     
  14. TJ_Phoenix

    TJ_Phoenix

    Joined:
    Jul 6, 2013
    Posts:
    3
    After searching through the forums for an answer, I found this thread (yes, I know it's an old thread but figured it would be better to add to an old one than start a new one with the same question) and I'll add my situation as well in hopes of some advice.

    Not only does Unity crash when importing my downloaded asset from the asset store (Medieval Environments is the asset, btw), but my entire system shuts off halfway through the importing phase! This happens when importing the asset as a whole into an empty scene or when opening a project that has that asset inside of it. I've managed a workaround and just import it in bits and pieces but once it's in imported in it's entirety, when attempting to reopen the project, it causes my entire system to shut down.

    It gives me no option to send a bug report and I am at my wit's end on how to address the issue. I'm running windows 7 with 6 gigs of DDR3 SDRAM and an AMD 3.1 gig Quad-Core CPU. I am keeping a RAM and CPU monitoring program up while attempting imports and it's saying i'm using about 1/3rd of my RAM and ranges from 35% to 100% of my CPU, fluctuating constantly.

    I'm brand spanking new to Unity (just got a few assets and the program for my birthday) and it's becoming a huge turn off for me so far. Any advice would be greatly appreciated.
     
  15. mikespartan101

    mikespartan101

    Joined:
    Sep 10, 2013
    Posts:
    1
    I am having trouble with importing assets as well. Ever since I downloaded Unity again after a year in June, I cannot import ANYTHING except for terrain without it crashing. I sent in 3 error reports, but I have heard of nothing since. I believe whatever the specs in computer are, they are not compatible with that version of Unity. Because last year or sometime before March of this year, I had Unity downloaded and it worked fine. Since July, has there been any newer versions of Unity? Can I also download previous versions as well?
     
  16. RazielSilver

    RazielSilver

    Joined:
    Jan 10, 2014
    Posts:
    2
    I'm having the same issue, only I have isolated it down to my anti-virus software Total Defense. The issue is that I've given Unity all the permissions I can, but it still crashes, and THEN it crashes every time on start up, until I put Total Defense into "snooze" mode.

    I would LOVE to be able to send error reports, but when I try it just sits there at about halfway done compressing report and never finishes. I have Unity 4.3 and this is the error:



    My FailedAssetImports.txt is empty as well.

    {{{I also sometimes get:



    Even when Unity is shut completely down. Though this may be a conflict with Notepad++ since it can hold the last txt session open when it itself is closed. (Tested and that problem went away when I turned Notepad++ remember last session option off.)}}}
     
  17. tinken

    tinken

    Joined:
    Sep 24, 2013
    Posts:
    3
    Hi,

    I have the same crash when importing package. I have nothing into FailedAssetImports.txt.
    I always import upgraded package in a new scene so I can erase previous plugin (in unity Project tab) and import the package by executing the unitypackage file.
    In the editor.log, it succeed to import all files, re-build the whole project, unloading some unused assets.
    Then check for an update then:
    I attached the whole log file if you want.

    I hope it will help you.

    -Tinken

    more info:
    Working on Mac os 10.8.5
    3.1 Ghz intel core i7
    Ram: 16Gb DDR3
    space on my drive 400Gb free on 1Tb
     

    Attached Files:

    Last edited: Apr 8, 2014
  18. tinken

    tinken

    Joined:
    Sep 24, 2013
    Posts:
    3
    I think I found the issue:
    I have a tab always open of this plugin. When I delete the plugin it doesn't close the tab.
    I import the update and maybe there is a display update at the end of all compilation and the code has changed maybe the guid and it crash.
    :!: It needs to be checked again. :!:

    -Tinken
     
  19. Alexey

    Alexey

    Unity Technologies

    Joined:
    May 10, 2010
    Posts:
    1,602
    @tinken that looks scary. please, try to repro with empty (or almost empty) project - the point is to have minimal repro. As i understand you just frop the package to unity, right? so - project + package, zip it and bug report with repro steps. Drop case number here i'll poke appropriate people to look at it.
    @RazielSilver yes, your errors seems to indicate that something is holding the files in exclusive mode. AntiVirus software is well known for that funky behaviour
     
  20. DashyGames

    DashyGames

    Joined:
    Jun 5, 2014
    Posts:
    2
    I have the same problem with blender imports. When I try to import a blender file, unity opens blender and in my taskmanager and I see that blender use every second more "main memory" (RAM). When I stop the process I can use Unity, during the import Unity freeze. So has someone found a solution yet? Or could the unity technologies help me please?
     
  21. Nirav-Madhani

    Nirav-Madhani

    Joined:
    Jan 8, 2014
    Posts:
    27
    it happens with me only in PUN free.I have 16 GB ram.
    This happens in my both laptop but not PC
     
  22. dusty844

    dusty844

    Joined:
    Apr 3, 2016
    Posts:
    1
    it happened today and i have unity 5!:mad::(
     
  23. MariuszKowalczyk

    MariuszKowalczyk

    Joined:
    Nov 29, 2011
    Posts:
    299
    It happens to me right now for the first time after 5 years of using Unity :x
    Fbx file that was importing normally for the last year (I have reimported it hundreds of times before). Today suddenly it makes the Unity thinking and thinking (I have to close it manually because it doesnt't crash by itself). I was trying to everything. I am exporting with Blender. I am on Mac OSX. Any clues?

    EDIT: It helped to save the model with different name.
     
    Last edited: May 21, 2016
  24. OfficialLupaz

    OfficialLupaz

    Joined:
    Feb 8, 2017
    Posts:
    1
    Well how big is your Asset/Package? Because i imported a package which was almost 1 gigabyte and it got stuck for several minutes and then it started to load it in. It still got stuck while importing stuff though. But i think the problem lies with how big your asset really is.
     
  25. MariuszKowalczyk

    MariuszKowalczyk

    Joined:
    Nov 29, 2011
    Posts:
    299
    The package was not too large, a few MB.
     
  26. sevensails

    sevensails

    Joined:
    Aug 22, 2013
    Posts:
    483
    I have the exact same problem on Unity 5.6p1 on my Mac when I try to open my project. And there is no FailedAssetImports.txt in Library folder here.

    What else I can try?
     
  27. jimbo7278102

    jimbo7278102

    Joined:
    Dec 8, 2013
    Posts:
    2
    can someone help me on this unity bug report i am trying to download an asset from unity store i get this bug report
     
  28. Aadharsahni

    Aadharsahni

    Joined:
    Jan 29, 2018
    Posts:
    4
    Hahah. I found the issue.
     
  29. robotunity

    robotunity

    Joined:
    Mar 20, 2014
    Posts:
    6
    So what was the issue ? (I am also experiencing this crash with 2017.1.3f and High Sierra 10.13.3.)
     
  30. nareshbishtasus

    nareshbishtasus

    Joined:
    Jun 11, 2018
    Posts:
    35
    Same in 2019.1
     
  31. EthanMckinnell

    EthanMckinnell

    Joined:
    May 10, 2020
    Posts:
    1
    I can import items and other things but only some scenes work others just crash the whole engine
     
  32. kgeorgia512

    kgeorgia512

    Joined:
    Nov 1, 2019
    Posts:
    12
    Same issue here, Unity editor freezes for around an hour then crashes on trying to import a 433kb asset. Unlikely a memory issue. It seems every year Unity gets more bugs than bugs life and more glitches in the system than Metal arms 2. Doesn't bode well for the future lc Unity when bugs like this and others are so common now, and we have to spend more time debugging Unity itself than our projects. Glad I cancelled my subscription to Unity Plus.
     
  33. ArashiFujisaki

    ArashiFujisaki

    Joined:
    Apr 12, 2022
    Posts:
    1
    It's 2022 and this issue is still going on. I tried to import DreamOS which is 58.4 MB. Crashes instantly. The only way to stop it from crashing is by uncheckmarking the texture folder.
     
    Mohammadreza55555 likes this.
  34. Alexey

    Alexey

    Unity Technologies

    Joined:
    May 10, 2010
    Posts:
    1,602
    And you surely bug reported this with repro? I do not think the people above imported "DreamOS" exactly so why do you think your issue is "the same"? Because it is crashing? Is every crash just "the same"?
     
    Mohammadreza55555 likes this.
  35. Mohammadreza55555

    Mohammadreza55555

    Joined:
    Jul 30, 2016
    Posts:
    8
    Still happening with different types in Unity 2021.3.11f1 EDITOR CRASHES WITH OUT OF MEMORY WHILE IMPORTING ASSETS. Memory Label: Dynamic Array.

    When importing, and changing files and folder path from anywhere into the Assets folder in the Unity Editor, and also after deleting the library folder and reopening the project, unity crash with the same crash error.

    So we can't even move our assets in the editor!!!
    One of my coworkers submitted a bug report.