Search Unity

  1. We've closed the job boards. If you're looking for work, or looking to hire check out Unity Connect. You can see more information here.
    Dismiss Notice
  2. Unity 2017.3 has arrived! Read about it here.
    Dismiss Notice
  3. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Unspecified error during import of AudioClip Assets

Discussion in 'Audio & Video' started by John Sandrey, Mar 23, 2015.

  1. Tonny_elhond

    Tonny_elhond

    Joined:
    Sep 16, 2014
    Posts:
    1
    Hi everyone, I did a video tutorial teaching how to solve this problem, the video is in Portuguese (Brazil) but I'll put a caption in English soon.
     
  2. afshinunity

    afshinunity

    Joined:
    Apr 26, 2015
    Posts:
    3
    i'm using windows 10 latest update, unity 5.5.3 and of course i did what Alex-Lian from unity said and what ddf, Tonny_elhond and other users said but still i have this problem.
    i don't have any problem with .mp3 and .ogg files. but when it comes to .wav files i get this error:
    Errors during import of AudioClip Assets/UI Sound/sfx_new_goal.wav:
    FSBTool ERROR: Failed decoding audio clip.
    please fix this in 5.5.4 or 5.6.2
     
  3. nomadic

    nomadic

    Joined:
    Mar 4, 2010
    Posts:
    28
    I also had this problem with future timestamps.
    On Windows, you can run this in cmd to 'touch' all files in the current directory and reset the modified timestamp:
    for /r %f in (.\*) do COPY /B %f +,, %f
     
  4. csofranz

    csofranz

    Joined:
    Apr 29, 2017
    Posts:
    22
    Yup, had the same issue. Part of our team is in England, I'm on Europe main. They accessed the audio I created, and couldn't import it for two hours (produced on a Mac at GMT+2, consumed on a Win 10 machine on GMT)

    Yeah, really shows how great Unity is when it comes to global team support...

    Yeah, 'touch' will fix the (non)- issue. As does waiting until your file's creation date isn't in the future any more. This is a silly bug that shouldn't exist (who validates the time stamp before importing (not an issue) and *fails* validation just because the time is in the future?) . Yeah, I know brexit and all that, but really, Unity should be able to support a global team setup - and that will cross time lines.
     
  5. ndaunt

    ndaunt

    Joined:
    Oct 13, 2017
    Posts:
    1
    This worked for me. I had the same issue with the audio not importing correctly and the unspecified error. I went ahead and exported the file without touching it in Audacity, and now it seems to import just fine. I'm using WIndows 10 Home Edition with Unity 5.6.3p1. The audio file was .mp3
     
  6. keenanwoodall

    keenanwoodall

    Joined:
    May 30, 2014
    Posts:
    490
    Just got this bug 2 years later
     
  7. Overnaut

    Overnaut

    Joined:
    Aug 25, 2017
    Posts:
    13
    On Ubuntu 17.10 with Unity Editor 2017.30f1 for Linux the YouTube Portuguese solution and the Audacity one do not work for me. Changing the sound file also has no effect, I guess this is really Unity itself which causes problems here.

    /Edit: Also reinstalling Unity completely does not work nor executing the touch command as follows:
    Code (CSharp):
    1. sudo touch -t 201712311000.00 *
    which is clearly in the past.

    /Edit2: I'm still having this four year old bug crash-when-reimporting-audio-files marked as won't fix:
    https://issuetracker.unity3d.com/issues/crash-when-reimporting-audio-files
    and this unspecified-error-during-import-of-audioclip marked as duplicate too
    https://issuetracker.unity3d.com/issues/unspecified-error-during-import-of-audioclip
    Marked as duplicate, but his is false, since the first occurs on reimport and closes unity and the second bug occurs on importing and causes just an error.

    /Edit3: On the first page of the Audio & Video form this thread has currently 15,088 view compared to all other ones around 400.

    /Edit4: The thread
    https://forum.unity.com/threads/audio-clip-import-crash.366750/
    points into the direction that it is a 32 bit and 64 bit problem, I have installed a 64 bit problem. I will communicate this issue to an Linux editor developer, maybe he/they can solve it at least on the Linux side.

    It could also be an dependency problem as in:
    https://forum.unity.com/threads/an-error-while-importing-any-audio-file.497417/
    But since this was a Windows 7 error, I think the 32-64 bit problem has much higher chances to be fixed.
     
    Last edited: Jan 13, 2018 at 8:11 AM
  8. chadfranklin47

    chadfranklin47

    Joined:
    Aug 11, 2015
    Posts:
    23
    Yup. Getting this on win 10 2018. never used to get this before...
     
  9. Overnaut

    Overnaut

    Joined:
    Aug 25, 2017
    Posts:
    13
    Do you have the 64 bit version installed? If so, installing the 32 bit version maybe fixes the bug.