Camera component fails to render texture when more than one copy of the avatar are in the same instance.
Very Revy
Description:
Camera component fails to render texture when more than one copy of the avatar are in the same instance. The user needs to restart VRchat to fix the issue but it will break again once the conditions are met.
Steps to reproduce:
• Make a 3.0 public avatar with a camera component on a Game object.
• Go into a public instance with other users that are not on your friend list.
• Have them copy the model.
• At this point, ask them if they can see the camera texture on their model.
• You can also break yours if you reload into the world.
Expected result:
•Since Camera are not rendered on non-friend users, they should not break and prevent rendering on the model locally regardless if there are others in the same room.
Log In
Julian Astrum
I believe it's because of vrchat's "copy" system. The render texture is a texture with a ID on the server, when you clone the avatar, your avatar is just referencing that ID. So then you have two cameras both trying to render to the same texture ID and the system breaks. It would require a fundamental change to how vrchat handles avatar copying so I don't see it happening anytime soon.