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

Custom Dll is not working in unity , both Uwp and .net platform

Discussion in 'Windows' started by AnandSG, Dec 5, 2019.

  1. AnandSG

    AnandSG

    Joined:
    Oct 5, 2018
    Posts:
    9
    i'm building an application for Hololens , i have a dll build for target platform UWP.
    And i also tried to build it for .net platform. in both the cases i cant able to use my dll, cant access any class/functions.

    Also i tried to build a test dll which has just one function, which works all fine.

    Anybody knows if any specific reason for this?
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,518
    Can you elaborate on "can't use my dll"? What does that mean? Do you get any errors?
     
  3. AnandSG

    AnandSG

    Joined:
    Oct 5, 2018
    Posts:
    9
    Nope, no errors only i cant access the class/functions from that dll, even dll itself is not getting recognize when i try to make a object of it in c# script.
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,518
    So if you get no errors, what happens when you try to access it? How is the DLL configured in plugin inspector? Can you show me a screenshot?