Closed junebug12851 closed 1 year ago
You'll need to import the updated package-manager based SDK and not the old UnityPackage SDK due to how Unity handles dependencies with packages, or else certain imports won't work as expected.
What's the updated package-manager based SDK
. Also tysm for a very quick response.
I have also same problem... what is
updated package-manager based SDK
Please help this problem... @NarryG
I imported this package using Unity built-in Package Manager
@junebug12851 @zhdlxh48 The package-manager based SDK is the sdk uploaded to github at vrchat/packages. ClientSim also lists its dependencies in the package.json. Just as you used the git link to install ClientSim in unity, use these two links to import the package version of the sdk: https://github.com/vrchat-community/ClientSim/blob/7b3a59c809730f8d47da31f3aeaa93e42e88786f/package.json#L12-L13
@junebug12851 @zhdlxh48 The package-manager based SDK is the sdk uploaded to github at vrchat/packages. ClientSim also lists its dependencies in the package.json. Just as you used the git link to install ClientSim in unity, use these two links to import the package version of the sdk:
Are there more clear steps for installation since adding both links results in much more errors? I mean step by step clean project.
( new to Unity )
@oivio:
https://github.com/vrchat/packages.git?path=/packages/com.vrchat.base#3.0.1
. Wait until the package finishes importing (you may need to press CTRL+R to jumpstart the process if you have Auto-Refresh turned off in the Unity Editor)https://github.com/vrchat/packages.git?path=/packages/com.vrchat.worlds#3.0.1
https://github.com/vrchat-community/ClientSim.git#1.1.0
Wait for everything to complete. You may need to select VRChat SDK > Reload Plugins from the top menu to finalize the plugin loading, then you should be ready to use everything together. Note that this approach is meant for experienced Unity users, the upcoming VRChat Creator Companion will handle most of this for you.
@junebug12851 - are you still having an issue with ONSPAudioSource?
@momo-the-monster Does the ordinary SDK have to be completely removed before attempting to install this package version?
I have the same problem. Your opinion will be helpful. Thank you very much. ( I use the Google translation app for help )
@Adam-Kay The screen display of this screenshot is displayed. Let me show you how.
Make Project
Open the Unity Package Manager, click the + button and choose 'Add package from git URL...'
Enter url :
https://github.com/vrchat/packages.git?path=/packages/com.vrchat.base#3.0.1
done. Enter next url :
https://github.com/vrchat/packages.git?path=/packages/com.vrchat.worlds#3.0.1
done. Enter next url :
https://github.com/vrchat-community/ClientSim.git#1.1.0
Assets -> Import Package -> Custom Package
import VRCSDK3-WORLD unitypackage
Press Yes
( editer will be rebooted )
Press the play button
Unfortunately, this process didn't work for me, I am not able to access the VRCSDK control panel after following your steps, the option isn't available in Unity:
I have tried every way I can think of to install this into my existing project: Following @pavlov3-progress's instructions, removing the original SDK3 first, trying to install it after the 3 packages, trying without, deleting the Library folder and letting Unity rebuild it etc. Usually I either can't access the VRCSDK panel, I get 999+ errors, or pressing Play doesn't do anything different than it did before.
I'm not sure if I'm doing it wrong, but I may leave it for now until the VRChat Creator Companion eventually releases to help with this
https://github.com/vrchat/packages.git?path=/packages/com.vrchat.base#3.0.1
https://github.com/vrchat/packages.git?path=/packages/com.vrchat.worlds#3.0.1
https://github.com/vrchat-community/ClientSim.git#1.1.0
VRChat SDK - Worlds > samples > import into Projectprojectfolder/*.csproj
projectfolder/*.sln
I don't know which operations are redundant.
- Remove old sdk and udonsharp
- Package Manager > Add package from git URL...
https://github.com/vrchat/packages.git?path=/packages/com.vrchat.base#3.0.1
https://github.com/vrchat/packages.git?path=/packages/com.vrchat.worlds#3.0.1
https://github.com/vrchat-community/ClientSim.git#1.1.0
VRChat SDK - Worlds > samples > import into Project- Assets -> Import Package -> Custom Package import UdonSharp.unitypackage
- Close Project Delete
projectfolder/*.csproj
projectfolder/*.sln
- Open Project Assets > Reimport All
I don't know which operations are redundant.
Followed these steps on a fresh Unity 2019.4.31f1 3D project, and did not work. After adding UdonSharp (even with steps 4 and 5), the editor shows three instances of the below message with different dll files called out:
Assembly 'Assets/VRCSDK/Dependencies/Managed/Microsoft.CodeAnalysis.CSharp.dll' will not be loaded due to errors: Microsoft.CodeAnalysis.CSharp references strong named System.Collections.Immutable Assembly references: 1.2.1.0 Found in project: 5.0.0.0. Assembly Version Validation can be disabled in Player Settings "Assembly Version Validation"
This error is thrown for the 3 dll's that UdonSharp brought into Assets/VRCSDK/Dependencies/Managed. I'm not sure why UdonSharp is bringing in items under a folder for VRCSDK assets, but that seems to be the cause of the error.
These errors are not there when you bring in the VRChat SDK via Assets -> Import Package -> Custom Package, but then there are the errors that OP mentioned.
@Conmiro @junebug12851 - are these issues still present for you when using ClientSim 1.2.2 via the Creator Companion?
I'm going to close this issue out due to inactivity + out of date packages. If you encounter similar issues using the latest version of ClientSim via the Creator Companion, feel free to open a new issue!
I imported this url into package manager which imports version
1.1.0
specifically.https://github.com/vrchat-community/ClientSim.git#1.1.0
and I get 2 issues as soon as I import it