Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  4. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  5. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  6. 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:
    30
    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:
    503
    Just got this bug 2 years later
     
  7. Overnaut

    Overnaut

    Joined:
    Aug 25, 2017
    Posts:
    19
    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
  8. chadfranklin47

    chadfranklin47

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

    Overnaut

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

    Pracedru

    Joined:
    Aug 25, 2015
    Posts:
    2
  11. Overnaut

    Overnaut

    Joined:
    Aug 25, 2017
    Posts:
    19
    I'm on Windows 10 now and everything works just fine.
     
  12. Mabus88

    Mabus88

    Joined:
    Feb 7, 2018
    Posts:
    1
    I had an issue with the Audio files not being there as well. Turned out to be my anti-virus software was blocking the audio files from importing. Once I allowed it to go through, all was good.
     
  13. Tibromatic

    Tibromatic

    Joined:
    Mar 12, 2018
    Posts:
    2
    I managed to strace + gdb the problem around. On my Fedora 27 (x64) the FSBTool was unable to run. So I replaced it with a shell script:
    /Editor/Data/Tools/FSBTool/FSBTool:
    #!/bin/bash
    oggenc -q 10 -o "${14}" "${12}"


    It's ugly, and I only tested it with .wav files. Since oggenc will not recode .ogg files, a simple copy of these files is also good.
    [Edit]
    The problem was that I was missing the libstdc++ i686 packages. Installing it solved the issue.
     
    Last edited: Mar 13, 2018
  14. fadhilditya

    fadhilditya

    Joined:
    Jul 5, 2017
    Posts:
    2
    Yep Web GL is still the problem in 2017.31f.1. can you solve this issue thanks
     
  15. ioanna316

    ioanna316

    Joined:
    Apr 14, 2014
    Posts:
    8
    On MacOS, Unity 2017 - same problem with just 2 audio MP3 files, when switching to Android platform (was fine on iOS) - enabling Force Mono flag on those assets helped to resolve the problem.
     
  16. dizainer33

    dizainer33

    Joined:
    Jun 11, 2018
    Posts:
    1
  17. Joh-nny

    Joh-nny

    Joined:
    Wednesday
    Posts:
    1
    @ddf: Thank you! Don't know how you figured that out but... THANKS!
     
  18. rascalm

    rascalm

    Joined:
    Today
    Posts:
    5
    I got this error when some files I unzipped wound up with Modified times that were in the future. In other words, it was 10am and the files had modified times of 2pm. I used touch from the command line to fix the incorrect timestamps on the files and then Unity could import them.