How to represent hand prefab with SteamVR using Photon (unity)?

I’m working on a multiplayer project in unity, and I have set up the Player prefab with final IK. I’m using SteamVr and it has its own way to represent hand and finger position. I am wondering if there is a way to synchronize it with Photon.

Bump
Bump

I found one solution and it’s neither easy nor neat. But I’ve not come across any other. Whole solution is too complicated to write here, but this might get you started. Explore steam VR player prefab and see how it spawns the hand prefab and the controller prefab. You need to add photon view, photon transform view, photon animator view where necessary. Next, you need to explore the actual steam VR scripts and see where they instantiate the prefabs. And now this is tricky: you need to rewrite them to use photonnetwork.instantiate instead of gameobject.instantiate. My solution was to create a new script that inherits from them and only rewrite the method I needed because writing directly into steamVR scripts didn’t work, it wouldn’t accept using photon.pun. For photonnetwork.instantiate you also need to put the hand and controller prefab into the resources folder. I hope this helps!