I downloaded git last week in preparation or this, I setup the login page with playfabs and dealt with email authentication with unity.transport and smtp I finished setting up a “gameEngine” planel with a client,server,player tab. I finally got to my scene “PlayerWorkLab” which is the first place you should spawn.
So, I need to build the player networking prefab and went to go download MLAPI today. (Before you ask/assume YES git is up-to-date 2.33/Restarted laptop for stupid windows update 4 days ago “yay audio drivers now not working right” !Thanks bill gates!)
However, it won’t install. I get these two errors when downloading from the github link,“https://github.com/Unity-Technologies/com.unity.multiplayer.mlapi.git?path=/com.unity.multiplayer.mlapi#release/0.1.0 ”
error 1:
[Package Manager Window] Cannot perform upm operation: EBUSY: resource busy or locked, rmdir ‘C:\Users\keola\OneDrive\Desktop\SolChroniclesInfinite\Library\PackageCache.tmp20724Yz9gcslN85k6\clone’ [NotFound].
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
error 2:
[Package Manager Window] Error adding package: https://github.com/Unity-Technologies/com.unity.multiplayer.mlapi.git?path=/com.unity.multiplayer.mlapi#release/0.1.0 .
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
I am using the latest version of unity 2021 so, I’d very much like a solution to this issue asap.
I have photon in “My Assets” but, not in the project I’m working on. If that helps at all.
1 Like
The link is broken! At the moment the url is glitched. Open the github link in your browser and download the package by name!
com.unity.multiplayer.mlapi
1 Like
wlwl2
October 3, 2021, 2:55am
3
I ended up downloading the latest package as a tarball from the official repo.
opened 02:53AM - 03 Oct 21 UTC
closed 08:08AM - 10 Oct 21 UTC
Installation instructions for Unity 2021 are not working. The link is probably w… rong (because the name of the GitHub repo changed). I was about to make a pull request with a fix but the fix is by downloading the latest release from the official repo (right now it is called `com.unity.netcode.gameobjects` under `https://github.com/Unity-Technologies/com.unity.netcode.gameobjects`) as a tarball and just adding that in a similar way.
There is another issue where this package might be made into an official one so the docs will inevitably change to follow that.
In the short term, can we just encourage users to download the tarball, and in the long term the package might be made official?
I'm also curious about how long it will take to make the MLAPI package official and whether it will be.
Edit: the link seems to be working fine (except in some cases- newer Windows 10/some Win10 set-up). Thanks @Brach_Unity !
Hiya so I’m testing it at the moment and I’m not seeing an issue. This is what im getting when I use the copy function on the docs page.
https://github.com/Unity-Technologies/com.unity.multiplayer.mlapi.git?path=/com.unity.multiplayer.mlapi#release/0.1.0
your second URL has a extra “.” at the end which might be an issue. I have attached a link showing my results. I’m not sure what’s happening with your attempts.
1 Like
wlwl2
October 10, 2021, 8:12am
5
keola117:
I downloaded git last week in preparation or this, I setup the login page with playfabs and dealt with email authentication with unity.transport and smtp I finished setting up a “gameEngine” planel with a client,server,player tab. I finally got to my scene “PlayerWorkLab” which is the first place you should spawn.
So, I need to build the player networking prefab and went to go download MLAPI today. (Before you ask/assume YES git is up-to-date 2.33/Restarted laptop for stupid windows update 4 days ago “yay audio drivers now not working right” !Thanks bill gates!)
However, it won’t install. I get these two errors when downloading from the github link,“https://github.com/Unity-Technologies/com.unity.multiplayer.mlapi.git?path=/com.unity.multiplayer.mlapi#release/0.1.0 ”
error 1:
[Package Manager Window] Cannot perform upm operation: EBUSY: resource busy or locked, rmdir ‘C:\Users\keola\OneDrive\Desktop\SolChroniclesInfinite\Library\PackageCache.tmp20724Yz9gcslN85k6\clone’ [NotFound].
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
error 2:
[Package Manager Window] Error adding package: https://github.com/Unity-Technologies/com.unity.multiplayer.mlapi.git?path=/com.unity.multiplayer.mlapi#release/0.1.0 .
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
I am using the latest version of unity 2021 so, I’d very much like a solution to this issue asap.
I have photon in “My Assets” but, not in the project I’m working on. If that helps at all.
Try changing the settings for the Git for Windows options to old (not selecting any of the New! options). This fixed it for me.
So, I had exactly this problem so I tried to download and add the tarball from https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/archive/refs/tags/0.1.0.tar.gz . Got the file ok, but both Unity 2020.3.0f1 or Unity 2021.1.23.f1 errored.
So then manually extracted the folder com.unity.multiplayer.mlapi from the tgz file and added it to the manifest locally: "com.unity.multiplayer.mlapi": "file:d:/_projects/Unity/Packages/com.unity.multiplayer.mlapi"
I know this won’t pick up updates but it works and hopefully it will be on the main registry soon?
markf06:
So, I had exactly this problem so I tried to download and add the tarball from https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/archive/refs/tags/0.1.0.tar.gz . Got the file ok, but both Unity 2020.3.0f1 or Unity 2021.1.23.f1 errored.
So then manually extracted the folder com.unity.multiplayer.mlapi from the tgz file and added it to the manifest locally: "com.unity.multiplayer.mlapi": "file:d:/_projects/Unity/Packages/com.unity.multiplayer.mlapi"
I know this won’t pick up updates but it works and hopefully it will be on the main registry soon?
It should be already in the registry. Just not visible. You can try to add “com.unity.multiplayer.mlapi” via the add package from git URL
option. This will fetch MLAPI from the Unity package registry.