This is a curious error as it seems to indicate the method GetSourceTextureWidthAndHeight does not exist, or the call to this method has been modified beyond the code I originally wrote. Did you change the code? And what version of Unity are you running?