when I open the project on unity3d 3.0 beta3. the error message was appear in status bar.
the error was:
Assets/Plugins/TexturePlayback.cs(44,6): error CS1729: The type `System.Runtime.InteropServices.DllImportAttribute' does not contain a constructor that takes `1' arguments
Assets/Plugins/TexturePlayback.cs(45,32): error CS0626: `TexturePlayback.UpdateTexture(System.IntPtr, int, int, float)' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation
the error code was:
[DllImport ("UnityTexture")]
private static extern void UpdateTexture (IntPtr colors, int width, int height, float time);
I think the plugin function was very important in unity3d technology. I hope in unity3d 3.0, it can work better.
Hi,
We have the same error with our __existin__g code, that worked in 2.5, 2.6 versions.
I only upgraded Unity from 2.6x to 3.0.0b3 and the compilation gave me this error.
We didn’t modify our source since the migration.