Search Unity

Unity freezes whenever I try to import anything with sound

Discussion in 'Package Manager' started by BLucky_VRC, Feb 11, 2020.

  1. BLucky_VRC

    BLucky_VRC

    Joined:
    Feb 6, 2020
    Posts:
    1
    Whenever I import any package that has sound files the import process freezes at the audio file. The longest I have waited for a simple "ow" sound before aborting was 20 minutes. I'm on Mac OS Catalina, Unity version 2017.4.28f1 LTS.
     
  2. Gazcraft

    Gazcraft

    Joined:
    Nov 8, 2012
    Posts:
    5
    I've just tried opening a project that was working earlier today after a git pull and I'm getting the exact same issue.
    Mac OS Catalina.
    Unity Version 2017.3.0f3
     
  3. Filipo6

    Filipo6

    Joined:
    Dec 27, 2015
    Posts:
    5
    Any updates on this? I cant drop sounds into the editor ( Version 2018.2.18 ) and I cant even open a project with sounds already imported in git repo by a friend of mine...Catalina issue....:(
     
  4. samuelb_unity

    samuelb_unity

    Unity Technologies

    Joined:
    Nov 13, 2017
    Posts:
    87
    Hi @Filipo6, could you provide the exact steps to reproduce? We might need to file a bug but I'd like to verify this is indeed a Package Manager issue. It sounds like there are 2 scenarios:
    1. Git dependency where the repo contains audio files
      • What format are the audio files? Roughly what size?
      • Which folder are they under in the project?
      • Are they imported into Unity as an AudioClip asset?
    2. Dragging the audio file into the editor
      • Which folder to you drop the file into?
    Thanks in advance!
     
  5. Filipo6

    Filipo6

    Joined:
    Dec 27, 2015
    Posts:
    5
    @samuelb_unity hey, I fixed the issue by updating the project to the latest Unity version.

    The format of the files was .wav or .ogg, file sizes are very small, few kilobytes, they were imported to Unity by drag and drop into Assets/Audio folder! On each import unity would crash and I would have to reboot my macbook in order to re-run unity. Then my friend imported same files from his Windows 10 machine and I pulled the repo, I was . then not able to open the unity project at all, because it would crash on "importing files" once I opened unity
     
  6. Filipo6

    Filipo6

    Joined:
    Dec 27, 2015
    Posts:
    5
    @samuelb_unity Hey there, unfortunately I'm experiencing this issue again:

    I've downloaded an older version of unity ( 2017.3 ) in order to use "standard asset" package and play around. It won't import, Unity crashes.

    Import of the standard asset package worked on the latest Unity version but there were compile errors.

    It seems like Catalina only works with the latest Unity version.
     
  7. samuelb_unity

    samuelb_unity

    Unity Technologies

    Joined:
    Nov 13, 2017
    Posts:
    87
    In that case I'm afraid this doesn't sound like a Package Manager specific issue. Could you try asking in the Audio & Video area of the forums? https://forum.unity.com/forums/audio-video.74/

    Thanks! And sorry I couldn't be of more help
     
  8. Filipo6

    Filipo6

    Joined:
    Dec 27, 2015
    Posts:
    5
unityunity