Can't run Local Asset Bundle Server
Hello, I`m using Unity 5.3 and currently working with asset bundles, to be more specific, with the asset bundle manager, but even using the tutorial unity has on their website, I can`t run the local server. We use proxy here but I don`t think this should be a problem, since it`s only a local server. I`ve been getting this error: ArgumentException: Can't find process with ID 725 System.Diagnostics.Process.GetProcessById (Int32 processId) AssetBundles.LaunchAssetBundleServer.IsRunning () (at Assets/Package/AssetBundleManager/Editor/LaunchAssetBundleServer.cs:48) AssetBundles.LaunchAssetBundleServer.ToggleLocalAssetBundleServerValidate () (at Assets/Package/AssetBundleManager/Editor/LaunchAssetBundleServer.cs:38) and after it, I can`t try to run the local asset bundle server unless I restart Unity.
Thanks!
Hi,
I have exactly the same problem using Unity 5.4.0. Is there alreay a solution?
thx
Answer by G-Brothers · Aug 20, 2016 at 09:44 AM
Hi,
I could solve my problem on Win10! The problem is, that the AssetBundleServer could not start the HTTP Listener because of insufficient privileges. I´ve granted this privileges and now it works fine and the AssetBundleServer is up and running. You grant this privileges with the following commands:
start a console with admin rights and type the following command
netsh http add urlacl url=http://[yourIP]:7888/ user=Jeder
[yourIP] must be exactly the same as it is written in the Assets\AssetBundleManager\Resources\AssetBundleServerURL File! "user=Jeder" is for the german version of windows. I guess in english it should be "user=everyone".
beste regards, René
Hi Rene, I have followed everything you hava said and in the command prompt it says URL reservation successfully added but still I have the same problem. Any idea as why that might be?
Did you move the AssetBundleServer to a different folder than Assets? That was what broke it in my case - hard-coded paths.
Your answer
![](https://koobas.hobune.stream/wayback/20220612080449im_/https://answers.unity.com/themes/thub/images/avi.jpg)