Hey peeps, I am playing with native plugin texture2d manipulation where I attach a texture2d to a quad’s material and then pass the texture2d’s ptr to a DLL. Similar to this doc Unity - Manual: Low-level native plug-in interface. Then I pass the image from my webcam to my DLL as well and update the texture2d with my GPU. This works in the editor but I have no idea why the image data seems to break in the build.
Working in editor:
Failing in build: