patricksebastien / libpd4unity

libpd for unity 3d
101 stars 20 forks source link

Errors with the last version & Unity 5 32bit #17

Open cduquesne opened 7 years ago

cduquesne commented 7 years ago

Hi !

With the last version of libpd4unity I encounter the following errors :

I don't have these errors with the versions before the last commits (i downloaded a version the 3rd October and it has no errors)

Does someone have an idea about these ? (I'm not familiar with pointers so I can't really know what's going on) Thanks !

batchku commented 7 years ago

I'm trying to get libpd4unity working with Unity 5.4.1f1 on OS X. I'm running into the first issue that cduquense mentions, regarding "unsafe": Here is my error:

Assets/LibPD/LibPDNativeMethods.cs(313,42): error CS0227: Unsafe code requires the `unsafe' command line option to be specified

I've tried creating a file in the Assets folder named "gmcs.rsp" with a single line of text "-unsafe". This did not solve my problem.

Has anyone gotten libpd4unity working with Unity 5?

ali

cduquesne commented 7 years ago

I rolled back to an older version, and had the thing work, but with many random crashes that looked like memory corruption... Not usable at the moment it seems.