You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multiple precompiled assemblies with the same name System.Runtime.CompilerServices.Unsafe.dll included on the current platform. Only one assembly with the same name is allowed per platform.
#14
Open
Rica02 opened this issue
Jul 3, 2023
· 3 comments
· May be fixed by #24
Getting this error after installing unity-rlottie version 0.2.2:
Multiple precompiled assemblies with the same name System.Runtime.CompilerServices.Unsafe.dll included on the current platform. Only one assembly with the same name is allowed per platform. (Assets/Packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll)
Multiple precompiled assemblies with the same name System.Runtime.CompilerServices.Unsafe.dll included on the current platform. Only one assembly with the same name is allowed per platform. (/Volumes/SamsungT7SSD/MyProject/Library/PackageCache/com.gindemit.rlottie@82e20a0008/ExternalDlls/System.Runtime.CompilerServices.Unsafe.dll)
Deleting one of the System.Runtime.CompilerServices.Unsafe.dll files did not work, any advice?
Unity version: 2021.3.19f1
The text was updated successfully, but these errors were encountered:
Could you please provide some details about your installation process for the Assets/Packages/System.Runtime.CompilerServices.Unsafe.4.5.3 package? This will help me to replicate the issue on my end.
Additionally, you mentioned attempting to delete the Assets/Packages/System.Runtime.CompilerServices.Unsafe.4.5.3 package. I'm curious - once the package was deleted, did you encounter any subsequent errors?
We believe it's from Microsoft's NuGet library (https://imgur.com/a/kKmKrOA). Deleting its Unsafe package caused compiling issues with the library we're using from it
Hello @Rica02, thanks for the infos!
I think I will remove this dll in the next release from the package.
The projects that does not have the dll awailable will need to install it separately.
Getting this error after installing unity-rlottie version 0.2.2:
Multiple precompiled assemblies with the same name System.Runtime.CompilerServices.Unsafe.dll included on the current platform. Only one assembly with the same name is allowed per platform. (Assets/Packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll)
Multiple precompiled assemblies with the same name System.Runtime.CompilerServices.Unsafe.dll included on the current platform. Only one assembly with the same name is allowed per platform. (/Volumes/SamsungT7SSD/MyProject/Library/PackageCache/com.gindemit.rlottie@82e20a0008/ExternalDlls/System.Runtime.CompilerServices.Unsafe.dll)
Deleting one of the System.Runtime.CompilerServices.Unsafe.dll files did not work, any advice?
Unity version: 2021.3.19f1
The text was updated successfully, but these errors were encountered: