Search Unity

Resolved [Fix in review] 2021.2.0a13 - Never ending "Importing Assets/AssetDatabase.ParallelEnumeration"

Discussion in 'Asset Database' started by Deleted User, Apr 15, 2021.

  1. Deleted User

    Deleted User

    Guest

    Hi,

    Everything is in the title. This "importation" never ends until I kill Unity in the task manager since there is no way to close it. "Cancel Batch" button is greyed out. I'm talking about a completely empty project here.

    The damn dialogue reappears on reopening the project.
     
    Last edited by a moderator: Apr 15, 2021
  2. Unity_Javier

    Unity_Javier

    Unity Technologies

    Joined:
    Mar 7, 2018
    Posts:
    190
    Hi @APSchmidt,
    Will take a look now.
    If I can't repro it easily, I have some questions that might help me repro it:
    1. What OS are you running on
    2. How many cores do you have?
    3. What file system are you running (i.e. Windows could be NTFS, FAT32)
    4. Do you have any symlinks inside your Assets folder?
    5. Might you be able to process dump and share it with me so that I can try to debug it?
    6. Is this on Project open, or has the project opened succesfully and you're importing assets while working?
    7. Are you running the command line argument -job-worker-count when starting up the project?


    Thanks for reporting this!
     
    Last edited: Apr 16, 2021
  3. Deleted User

    Deleted User

    Guest

    Hi,

    Thank you for taking care! :)
    1. Linux Mint, the details are in my profile (link in my signature),
    2. ext4,
    3. being a brand new project, there was no symlink inside it unless the project creation process creates some?
    4. I have deinstalled 2021.2.0a13 and deleted the project. I suspect that it was never fully created anyway because of that weird thing happening.
    I hope you'll find an explanation, I'm curious.
     
  4. Unity_Javier

    Unity_Javier

    Unity Technologies

    Joined:
    Mar 7, 2018
    Posts:
    190
    Thanks!
    Will try it out for Linux shortly!

    I've tested it so far on Windows by making a project with the 3D template and changing the number of cores on my system, and so far it has opened.

    Will report back after I get the Linux env. up and running!
     
    Deleted User likes this.
  5. Deleted User

    Deleted User

    Guest

    Thanks!

    Oh, I forgot! the project created was a 2D project. Sorry about that.
     
  6. Unity_Javier

    Unity_Javier

    Unity Technologies

    Joined:
    Mar 7, 2018
    Posts:
    190
    Hey, so I have a Linux VM setup with 2 cores.
    I've created a 2D project from the template and tried opening it with 2021.2.0a13 with various worker counts, and so far no stalls.
    Just to make sure, does this happen when you're launching the project, or when you're already working inside the editor?
     
  7. Deleted User

    Deleted User

    Guest

    This happened on project creation.
     
    Unity_Javier likes this.
  8. Deleted User

    Deleted User

    Guest

    I don't understand, you didn't create it from Unity Hub after selecting 0a13?

    Give me some time, I'm going to reinstall 0a13 and create a 2D project with it.
     
  9. Unity_Javier

    Unity_Javier

    Unity Technologies

    Joined:
    Mar 7, 2018
    Posts:
    190
    I created a new Project with the Unity Hub using Unity 2021.2.0a13, and selected 2D as the template :)
     
    Deleted User likes this.
  10. Deleted User

    Deleted User

    Guest

    It happened again. After installing 0a13, I created a 2D project and the window was there.

    01.jpg
    02.jpg
    I managed to stop it by deleting the temp folder (Unity was still running).

    I tried to close Unity but having deleted the temp folder, a file was missing and I got a message asking if I wanted to force quit Unity. I forced quit.

    Then I reopened the project. Apparently everything was working but the damned window popped up again after I quit the Package Manager that I had open to check what packages were installed.

    Right now, ten minutes after, it's still there... and this time, deleting the temp folder is of no help. I need to kill Unity in the task manager.

    How do I send you the project (80 mB in a zip)? :)
     
  11. Unity_Javier

    Unity_Javier

    Unity Technologies

    Joined:
    Mar 7, 2018
    Posts:
    190
    Deleted User likes this.
  12. Deleted User

    Deleted User

    Guest

    Unity_Javier likes this.
  13. adamgolden

    adamgolden

    Joined:
    Jun 17, 2019
    Posts:
    1,555
    I don't think it's Linux-specific - this has happened to me during editor startup on Windows 10.. at least I'm pretty sure that's the message that was showing while it was stalled. If it happens again I'll confirm.. iirc happened once in 0a13 and once in 0a14. I had to close the editor from Task Manager, but opening the editor again after that and everything works fine.
     
    Unity_Javier likes this.
  14. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    For sure, thanks for your help!
     
    Unity_Javier and Deleted User like this.
  15. Deleted User

    Deleted User

    Guest

    :D
     
    Unity_Javier likes this.