ClientSim
ClientSim copied to clipboard
ONSPAudioSource, are you missing a using directive or an assembly reference?)
Assets\com.vrchat.ClientSim\Runtime\Helpers\ClientSimSpatialAudioHelper.cs(8,48): error CS0246: The type or namespace name 'ONSPAudioSource' could not be found (are you missing a using directive or an assembly reference?)
Assets\com.vrchat.ClientSim\Runtime\Helpers\ClientSimSpatialAudioHelper.cs(15,17): error CS0246: The type or namespace name 'ONSPAudioSource' could not be found (are you missing a using directive or an assembly reference?)
I'm also getting this error. Is there any solution?
Are you using the GIT repo version of the SDK or the downloaded one? I had this same error when using the downloaded SDK rather than the GIT one.
Are you using the GIT repo version of the SDK or the downloaded one? I had this same error when using the downloaded SDK rather than the GIT one.
I had to do some funky stuff to get it to work. I used the downloaded VRC SDK and I had to put a magic string into the package manager to get the emulator which you can find here: https://github.com/vrchat-community/ClientSim/issues/25#issuecomment-1127992893. After that the only error I had was this one and so what I did was copy the code from ONSPAudioSource.cs file and appended it under the ClientSimSpatialAudioHelper.cs file. It was really weird and hacky but I finally got it to run.
This appears to be a duplicate of #6, which should no longer be an issue - let me know if it's still happening for you @ItzDragonFace @Toxic-Cookie!