How to use C# dll in UE5?

I have a non-open source C# dll, can I use it? Just like in C# only simple references are required. Better give me a case, thanks.

Hey there @TomHank! I found this to be a great question, so I went to take a look around and found a thread that might help. Personally I’ve rewritten open source dlls which I understand you aren’t able to get the source of as of now. I wasn’t sure how to pull this off myself, but it seems that some people may have figured it out?:

Hope this helps!

1 Like

Hi! I can see that you’re able to use C# dll in Unreal Engine, please could you post a completed example about it, I mean where to créate a C# dll and how to link in C++ to use it… thanks!

Unfortunately I personally wasn’t able to use the C# libraries myself, I had to rewrite them to be native. That thread went over a couple of methods but it doesn’t seem to be a full implementation. I can’t find any solid resources for it.