- Home /
Sending and receiving variable-length arrays to and from DLL
I am extremely noob about this so i am in dire need of help and you guys are my only hope. Hence any help is greatly appreciated.
I need to send a variable-length (one-dimensional) "double" array to a C++ dll from my unity script in C#. And need to receive a resulting struct that has a couple of variable-length (same size as the one I sent) "double" arrays (again one-dimensional) from the dll.
I tried some recipes but they all ended up crashing Unity instantly as the script runs.
PS: I can send and receive fixed-sized arrays successfully.
Its appear that is a commom problem. Until you didn't have your answer try to dig in unity forums:
Your answer
Follow this Question
Related Questions
Connecting to a Qpid Broker 0 Answers
Dll distribution of Conditionally Compiled project 0 Answers
Distribute terrain in zones 3 Answers