rive-app / rive-unity

MIT License
78 stars 8 forks source link

Issue with Rive.RenderQueue.supportsDrawingToScreen() #52

Open BitBarrel opened 1 month ago

BitBarrel commented 1 month ago

This function does not give correct results between Metal, OpenGl Windows, and Android.

In RiveScreen.cs, the two instances of the code below cause a black screen on Metal but it works on Android and Windows (OpenGL). If "!" is removed, it works on Metal, but it gives a black screen and a Unity crash on Windows:

!drawToScreen

damzobridge commented 1 month ago

Thanks for reporting this. We're working on better ways to highlight the discrepancies across different platforms and devices. Right now, I believe only Metal supports drawing to screen.