RenderHeads / UnityPlugin-AVProVideo

AVPro Video is a multi-platform Unity plugin for advanced video playback
https://www.renderheads.com/products/avpro-video/
235 stars 28 forks source link

Metal: Fragment shader missing texture binding at index 0 #603

Closed JanOwiesniak closed 3 years ago

JanOwiesniak commented 3 years ago

Bug

I using Apply To Material Component to render video output on _MainTex of a Material.

Screenshot 2021-02-01 at 17 47 16

To use the Material on a RawImage afterwards.

Screenshot 2021-02-01 at 17 47 55

This results in following error (not all the time but most of the time):

Metal: Fragment shader missing texture binding at index 0

Setup

AndrewRH commented 3 years ago

Instead of using RawImage, can you instead try using DisplayUGUI component?

Does that solve the issue?

Thanks,

JanOwiesniak commented 3 years ago

Thanks for the hint but i think this does not solve my issue. I'm using additional components like Mask and AspectRatioFitter on that RawImage to "shape" it and keep ratio in different circumstances.

Neverless i will give it another try. Maybe i can work around it somehow with DisplayUGUI

Any idea what might the issue with this?

Metal: Fragment shader missing texture binding at index 0

MorrisRH commented 3 years ago

I've not been able to reproduce this using:

Are you able to share a sample project that reproduces this issue? If so please send it to unitysupport@renderheads.com

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 years ago

This issue has been automatically closed because it has not had recent activity. If you wish to continue this issue, then please create a new issue as we do not monitor closed issues.