Quicktime movie plugin crashes Unity 3

I have been using Frank McPherson's great QTPlackback plugin with Unity 2.61 (PC) and it works great.

http://www.unifycommunity.com/wiki/index.php?title=QTPlayback

The plugin lets you play back quicktime movies that are specified at runtime.

I am testing Unity 3.2.0f1 (PC) and I can't get it to work.

Does anyone have any suggestions on getting the plugin to work with unity3?

(Please note that you may need to test the plugin using a standalone build and -force-opengl command line option)

I am going to answer this question myself....

the function

GetInstanceID

needs to be replaced with

GetNativeTextureID

On unity 3.x