Open cadop opened 2 years ago
Temporary solution:
Add the DLLs to the Unity Editor folder
This bug is caused by the tbb.dll
used by the unity editor being for an older version of msvc. For some reason unity editor is taking priority over dhart dll's. For now the fix is to replace Unity Editors tbb.dll
in the Editor folder (you don't need to copy all the dlls).
Maybe we can build with a modified name of the tbb.dll
to stop the Unity Editor from prioritizing its own version for dhart
The current unity integration demo requires users to build and run the project, so it works for releasing and running a Unity project, but not for running with the editor.
The issue is when users drag the DLLs into Assets, there is no error, and can use the DLL in visual studio. However, when pressing play in the editor, it says that the C DLL is not found and errors with
DLLNotFoundException: DHARTAPI.dll
. When usingbuild and run
the target project does work.I am not sure how to solve it, or how to make the process easier.