- Home /
The requested feature is not implemented
I am working on a simulation in unity.....the application have to take data from matlab. To do this I have create a dll in matlab with the deploytool command and I have create a .NET Assembly dll. When I import this dll in a standalone c# application this works correctly.....when I use this dll in a unity c# script it doesn't works....unity give me this error:
NotImplementedException: The requested feature is not implemented. System.Security.Principal.WindowsIdentity.GetCurrent (Boolean ifImpersonating) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Security.Principal/WindowsIdentity.cs:166) MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction (System.String functionName, Int32 numArgsOut, Int32 numArgsIn, MathWorks.MATLAB.NET.Arrays.MWArray[] argsIn) MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction (Int32 numArgsOut, System.String functionName, MathWorks.MATLAB.NET.Arrays.MWArray[] argsIn) MathWorks.MATLAB.NET.Utility.MWMCR.setBuilderUserData () MathWorks.MATLAB.NET.Utility.MWMCR..ctor (System.String componentId, System.String componentPath, System.IO.Stream embeddedCtfStream, Boolean isLibrary)
I am using Visual Studio 2015 and in my Unity game i have imported my dll and MWArray.dll..... What is the problem??How I can resolve it??
how did you import the dll and it's function? showing the code will make helping you easier...
is the dll compiled with a compatible version of c#? (unity doesn't use the latest/greatest)
I import the dll as asset in my unity project....i have create a folder called plugins and i have add these there....the unity code is this:
Do you know another method to import a script matlab in unity project??? Thanks in advance.
as soon as I instantiate a Operatore object unity give me the error......
Did you solve this problem? I have also encountered the same problem