Failed to import ...
Describe the bug Error when running the editor.
Failed to import /home/shadowblitz16/Documents/Source/Test/Library/AssetDatabase/2debb6a9-0fb7-4ddb-9e7d-c20a5133718a.serialized.
System.Exception: Failed to import /home/shadowblitz16/Documents/Source/Test/Library/AssetDatabase/2debb6a9-0fb7-4ddb-9e7d-c20a5133718a.serialized.
at Prowl.Editor.Assets.AssetDatabase.LoadAsset(Guid assetGuid) in /home/shadowblitz16/Documents/Source/cs/Prowl/Prowl.Editor/Assets/AssetDatabase.Core.cs:line 532
at Prowl.Editor.Assets.AssetDatabase.LoadAsset[T](Guid assetGuid, UInt16 fileID) in /home/shadowblitz16/Documents/Source/cs/Prowl/Prowl.Editor/Assets/AssetDatabase.Core.cs:line 456
Exception in EditorWindow
Something went wrong loading asset.
In AssetDatabase.LoadAsset at /home/shadowblitz16/Documents/Source/cs/Prowl/Prowl.Editor/Assets/AssetDatabase.Core.cs(478,13)
In AssetDatabase.LoadAsset at /home/shadowblitz16/Documents/Source/cs/Prowl/Prowl.Editor/Assets/AssetDatabase.Core.cs(439,13)
In EditorAssetProvider.LoadAsset at /home/shadowblitz16/Documents/Source/cs/Prowl/Prowl.Editor/Assets/EditorAssetProvider.cs(17,9)
In DefaultRenderPipeline.ValidateDefaults at /home/shadowblitz16/Documents/Source/cs/Prowl/Prowl.Runtime/Rendering/RenderPipeline/DefaultRenderPipeline.cs(60,13)
In DefaultRenderPipeline.Render at /home/shadowblitz16/Documents/Source/cs/Prowl/Prowl.Runtime/Rendering/RenderPipeline/DefaultRenderPipeline.cs(110,9)
In SceneViewWindow.Draw at /home/shadowblitz16/Documents/Source/cs/Prowl/Prowl.Editor/Editor/SceneViewWindow.cs(161,9)
In EditorWindow.ProcessFrame at /home/shadowblitz16/Documents/Source/cs/Prowl/Prowl.Editor/Editor/EditorWindow.cs(165,25)
Failed to import Defaults/SkyDome.obj Took 0ms
Unable to load shared library 'libdl.so' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable:
/home/shadowblitz16/Documents/Source/cs/Prowl/Build/Editor/Debug/net9.0/runtimes/linux-x64/native/libdl.so: cannot open shared object file: No such file or directory
/home/shadowblitz16/.dotnet/shared/Microsoft.NETCore.App/9.0.2/libdl.so: cannot open shared object file: No such file or directory
/home/shadowblitz16/Documents/Source/cs/Prowl/Build/Editor/Debug/net9.0/libdl.so: cannot open shared object file: No such file or directory
/home/shadowblitz16/Documents/Source/cs/Prowl/Build/Editor/Debug/net9.0/runtimes/linux-x64/native/liblibdl.so: cannot open shared object file: No such file or directory
/home/shadowblitz16/.dotnet/shared/Microsoft.NETCore.App/9.0.2/liblibdl.so: cannot open shared object file: No such file or directory
/home/shadowblitz16/Documents/Source/cs/Prowl/Build/Editor/Debug/net9.0/liblibdl.so: cannot open shared object file: No such file or directory
/home/shadowblitz16/Documents/Source/cs/Prowl/Build/Editor/Debug/net9.0/runtimes/linux-x64/native/libdl.so.so: cannot open shared object file: No such file or directory
/home/shadowblitz16/.dotnet/shared/Microsoft.NETCore.App/9.0.2/libdl.so.so: cannot open shared object file: No such file or directory
/home/shadowblitz16/Documents/Source/cs/Prowl/Build/Editor/Debug/net9.0/libdl.so.so: cannot open shared object file: No such file or directory
/home/shadowblitz16/Documents/Source/cs/Prowl/Build/Editor/Debug/net9.0/runtimes/linux-x64/native/liblibdl.so.so: cannot open shared object file: No such file or directory
/home/shadowblitz16/.dotnet/shared/Microsoft.NETCore.App/9.0.2/liblibdl.so.so: cannot open shared object file: No such file or directory
/home/shadowblitz16/Documents/Source/cs/Prowl/Build/Editor/Debug/net9.0/liblibdl.so.so: cannot open shared object file: No such file or directory
In UnmanagedLinuxLibraryImplementation.dlopen at (0,0)
In UnmanagedLinuxLibraryImplementation.NativeLoadLibrary at (0,0)
In UnmanagedLibrary.LoadIfNotLoaded at (0,0)
In AssimpContext.CreateConfigs at (0,0)
In AssimpContext.ImportFile at (0,0)
In ModelImporter.Import at /home/shadowblitz16/Documents/Source/cs/Prowl/Prowl.Editor/Assets/Importers/ModelImporter.cs(68,13)
In AssetDatabase.Reimport at /home/shadowblitz16/Documents/Source/cs/Prowl/Prowl.Editor/Assets/AssetDatabase.Core.cs(388,13)
To Reproduce Steps to reproduce the behavior:
- git clone --recursive https://github.com/ProwlEngine/Prowl.git
- open the sln in rider
- build the sln
- play the editor.
- see lots of errors.
Expected behavior No errors. If a asset fails to import it should be a warning and it should only print out once.
Screenshots
Additional context NA
This solved the issue: https://github.com/dotnet/dotnet-docker/discussions/4938#discussioncomment-7892892
This solved the issue: dotnet/dotnet-docker#4938 (comment)
Solved? Do I have to do something to fix it, or will it be fixed later?
what OS/Hardware are you using?
what OS/Hardware are you using?
Operating System: Kubuntu 24.04 KDE Plasma Version: 5.27.12 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.13 Kernel Version: 6.14.3-1-liquorix-amd64 (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 7 5700G with Radeon Graphics Memory: 11.6 GiB of RAM Graphics Processor: AMD Radeon Graphics
Run whereis libdl.so.2 and whereis libdl.so in your terminal
Then you can use ln command to create a symlink to the missing file (ln a standard Unix command utility used to create a hard link or a symbolic link (symlink) to an existing file or directory -- from google search AI)
This is all per the solution provided by @bulutonur
$ whereis libdl.so.2
libdl.so.2: /usr/lib/x86_64-linux-gnu/libdl.so.2 /usr/lib32/libdl.so.2
$ whereis libdl.so
libdl.so:
Why am I linking in the first place? Oh I see it's someone else error, which will be fixed.
Your system has a file that a C# lib depends on but it is not in the place that it expected, so you need to create a symlink (path) so that the lib can find the file