- Home /
Importing C++/CLI DLL causes errors
Currently I am trying to import a C++/CLI DLL
with /clr:safe
compiler flags. This DLL is containing only the sample class provided by Visual Studio
. If I am importing that to Unity 2020.1.0f1
, everything works fine. But when I try to import it to Unity 2020.3.8f1 LTS
or Unity 2021.1.3f1
, there are two error messages. I am stuck on these errors for 2-3 days.
error-msg-1.png
(71.2 kB)
error-msg-2.png
(83.4 kB)
Comment
Your answer
Follow this Question
Related Questions
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
Problem importing a mixed-mode (C++/CLI) library 2 Answers
How is it best to distribute a complex unity project to other devs as asingle dll 1 Answer
DLL not found 2 Answers
Using Native C++ dll in Unity 1 Answer