Can an Android (Java not C/C++) plugin alter unity textures?
问题 I'm trying to use an Android plugin to get around the fact that Unity does not support Video Textures on mobile. I do this by getting the texture ID of the texture that will be used for video (supplied by Texture2D.GetNativeTextureID() ) which i then pass into the Java Plugin. The plugin then follows a standard MediaPlayer implementation to play the video into a Surface Texture, which has been assigned the aforementioned texture ID. When i call the MediaPlayer.Start() method, LogCat outputs