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. Dismiss Notice

Dll import error

Discussion in 'Scripting' started by schetty, Jun 14, 2021.

  1. schetty

    schetty

    Joined:
    Jul 23, 2012
    Posts:
    424
    Hi,
    I have downloaded the nuget package from here and extract the package and imported the library (.dll) file into the unity Assets -> Plugins.
    As soon as i import the dill it was throwing below error:

    Assembly 'Assets/Plugins/Azure.Storage.Blobs.dll' will not be loaded due to errors:
    Unable to resolve reference 'Azure.Core'. Is the assembly missing or incompatible with the current platform?

    So i understood there is some dependency of this dll so i have imported the azure.core dll into the same folder in unity, but that dll had dependency, and it was keep continue.

    I skip the errors and took a build but build was failure due to the dll error.
    Have no idea how to solve this, can anyone please help me out to solve this issue?
     

    Attached Files:

    • err.PNG
      err.PNG
      File size:
      92.4 KB
      Views:
      246
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,750
    Pretty sure this Azure plugins stuff does NOT work with Unity because a bunch of critical methods are not implemented, such as one called "maximum server connections" or something. I've seen perhaps three or four random posts in the forums about integrating Azure, and they all seem to end with "Just access the REST API directly" rather than use the blobs stuff.

    And of course, for ANY networking, UnityWebRequest, WWW, Postman, curl, WebAPI, etc:

    https://forum.unity.com/threads/using-unity-for-subscription-lists.1070663/#post-6910289

    https://forum.unity.com/threads/unity-web-request-acting-stupid.1096396/#post-7060150
     
  3. schetty

    schetty

    Joined:
    Jul 23, 2012
    Posts:
    424
    Thank you @Kurt-Dekker for your info,
    So using unity network and json is it possible to connect the azure blob storage and access the table and run the query ?
     
  4. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,750
    If it's accessible by REST API, I would imagine it is but I have no first-hand experience. Use the approach above to find out. If you cannot make it work with curl / Postman, your chances of making it work with Unity are pretty slim.