Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

SimpleBase.Dll not working on unity3D

Discussion in 'Windows' started by juglarx, Jul 25, 2020.

  1. juglarx

    juglarx

    Joined:
    Dec 27, 2014
    Posts:
    60
    Hi guys I trying to use SimpleBase.Dll from https://github.com/ssg/SimpleBase . i Download the package, rename the package as a ZIP file and copy the DLL to the plugins folder on my project. but when i restart i got this error:

    Code (CSharp):
    1. Error: Could not load signature of SimpleBase.Base16:GetSafeByteCountForDecoding due to: Could not resolve type with token 01000019 (from typeref, class/assembly System.ReadOnlySpan`1, netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51) assembly:netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 type:System.ReadOnlySpan`1 member:(null) signature:<none>
    Any clue ??
    thanks in advance
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    Looks like that DLL is using ReadOnlySpan<T> type. That type has been added in .NET Standard 2.1, whereas Unity only supports .NET Standard 2.0. A workaround could include recompiling the DLL for .NET Standard 2.0 or .NET Framework 4.7.1.
     
  3. juglarx

    juglarx

    Joined:
    Dec 27, 2014
    Posts:
    60
  4. phongasd85

    phongasd85

    Joined:
    Dec 8, 2019
    Posts:
    1
    Hi, Did you manage to recompile the dll for net 4.7.1? I'm having the same issue when trying to use ipfs net client.