fchb1239 / PhotonVR

A Unity Package containing all the necessary components to do VR networking with Photon
MIT License
44 stars 17 forks source link

Changing Recorder Sampling Rate in PhotonVRVoice Prefab creates errors building player #9

Closed Cricket-Programming closed 1 year ago

Cricket-Programming commented 1 year ago

I have tested this issue in unity 2021 and 2022. The issue as shown in the console of the picture happens when I change the recorder sampling rate in my photonvrvoice prefab that I dragged into the hierarchy.

Screenshot 2023-05-11 174912
fchb1239 commented 1 year ago

Weird, I don't think it's the sampling rate.

I've seen the error before but I'm not sure what's going on. I'd recommend to just reinstall Photon VR (and then skip the Player as you don't want to lose that)

Cricket-Programming commented 1 year ago

Thanks for the suggestion fchb1239. I found that just deleting the prefab from the scene, putting a new one back in, and then restart the unity project fixes the error. Also, thanks for this amazing library. It is wonderful. (

Cricket-Programming commented 1 year ago

I tested this issue in another brand new project and the changing the sampling rate doesn't affect the build's success! So, this error is actually not something to do with photonvrmanager and has just had something to do with that project. Because it's not actually an issue, I'm going to close it.