Issue with WebCamTexture and ONNX Model on Android using Unity Sentis

Hello, I’ve recently started using Sentis and I am quite new to AI models as well. I’m not sure if I’m discussing Sentis in the right place, so I apologize for that.

The issue I’m facing is that I’ve implemented an ONNX model which works very well on both Windows and Android. We provide this model with a texture, it detects people and returns a mask of the detected people, and it has been working great so far.

However, when I provide a static texture from Unity or download an image from the internet (using web requests) and give it to the model, it works fine on both Android and Windows. But when I use WebCamTexture to capture a photo and give this to the model, it returns an empty texture, and this only happens on Android. Therefore, I believe the issue is with my code. Could you help me? I’m really curious about this problem and haven’t been able to solve it.

here is my code Jul 04 6:28 PM - Codeshare