I was using your script to decode and worked perfectly. However an error occurs whenever I decode something and try to change to a scene which contains OnGUI stuff like labels, scrollviews…
The error (Cannot get pixels when webcam is not running
UnityEngine.WebCamTexture:GetPixels32()) happens when I try to press play again.
Are you familiar with this?
This looks like a bug to me, although I’m new to unity!
Thanks for everything!