DrawRenderer for SkinnedMeshRenderer

Hello everyone,

I’m running into some problems and there’s really nothing I can do, so I’d like everyone’s help.

In short: I want to draw some renderers onto a RenderTexture, and for normal objects (MeshRenderer) it works perfectly fine. But for SkinnedMeshRenderer, it renders nothing to RenderTexture.

This confuses me, look at Figure.

Btw,
CommanBuffer.SetViewProjectionMatrices(); states in the unity documentation that URP is not supported, but it seems to work fine, why is that?

Any ideas I would be very grateful!

The problem has been solved, it is the problem of the program, if there is a similar situation, check the program first. As for CommanBuffer. SetViewProjectionMatrices (), can work normally in the URP.

Cheers.