Hi there, let me introduce myself as new at Unity community.
I am writing a script that uses a .NET 3.5 dll written in c#. With Visual Studio and a simple program I have checked that the dll works fine. However when I use it and call it from Unity´s script it gives me an error in the log file:
NotImplementedException: The requested feature is not implemented.
System.Type.GetTypeFromProgID (System.String progID)
Does anyone have any idea on some solution from this? Maybe I am forgetting some assembly reference?
.NET dll is 3.5 that use a COM dll for using .NET 4.0 dll. Nevertheless, as I have mentioned above, using Visual Studio it works well.
Hi Landern,
I have checked my code and the library has not any part that is throwing an exception. If I paste the line that you have written, Unity shows me:
NotImplementedException: The requested feature is not implemented.
Without “System.Type.GetTypeFromProgID (System.String progID)”.
As MonoCompatibility says that function is supported. I do not know which would be the problem.
What you did, adding the exception, it executed as it should. What i was saying is that somewhere, something(the library or perhaps mono/unity) is throwing this exception. All i was giving was an example, how programmers go about creating the exception message and exception stack is completely up to them, so by looking for something that looks just like wait i put, may lead to less desirable results and just a waste of time.
The link i posted was to show that this feature is available currently.
Perhaps a little more information from you, when does the error happen, lines of your code?
What version of unity are you using, we can assume 3.5.x?
I hit the same problem, after five years. When I try to use System.Type.GetTypeFromProgID (System.String progID) I get an error of
NotImplementedException: The requested feature is not implemented. System.Type.GetTypeFromProgID (System.String progID) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Type.cs:564)