我用Google搜索这个问题,但是所有解决方案都是针对Windows的,但是我使用统一的Linux编辑器,所以我不知道如何解决这个问题
错误输出:
Unspecified error during import of AudioClip Assets/Resources/Sound/footstep.mp3
here是我的音频
答案 0 :(得分:0)
简而言之:
sudo apt install lib32stdc++6 -y
详细信息:
此错误会在导入所有音频文件时发生 我修复了,这是我在Linux中的解决方案
统一编辑器控制台未显示任何错误原因,
,但在统一编辑器Editor.log中,它显示如下
Updating Assets/FOOTSTEP_Trainers_Asphalt_Run_RR8_mono.wav - GUID: 870800666a72341ff8b8cc38e0706141...
FSBTool: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
----- Compute hash for Assets/FOOTSTEP_Trainers_Asphalt_Run_RR8_mono.wav.
Unspecified error during import of AudioClip Assets/FOOTSTEP_Trainers_Asphalt_Run_RR8_mono.wav
(Filename: /home/builduser/buildslave/unity/build/Editor/Src/AssetPipeline/AudioImporter.cpp Line: 949)
所以解决方案很简单,因为Editor.log显示:
FSBTool: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
我在Google搜索中发现了错误,并找到以下解决方法
sudo apt install lib32stdc++6 -y