UnityRenderStreaming icon indicating copy to clipboard operation
UnityRenderStreaming copied to clipboard

[BUG]: Can not download web app on 3.1.0-exp9

Open akriaueno opened this issue 1 year ago • 6 comments

Package version

Others

Environment

* OS: Linux
* Unity version: Unity 2022.3
* Graphics API:
* Browser:

Steps To Reproduce

  1. Setup the com.unity.renderstreaming package following the tutorial
  2. In the Render Streaming Wizard, click Download latest version web app
  3. Observe the following error:
Failed downloading web server from: https://github.com/Unity-Technologies/UnityRenderStreaming/releases/download/3.1.0-exp.8/webserver. Error: System.Net.WebException: The remote server returned an error: (404) Not Found.

Current Behavior

Unable to download the web app binary. Encounter the following error message:

Failed downloading web server from:https://github.com/Unity-Technologies/UnityRenderStreaming/releases/download/3.1.0-exp.8/webserver. Error: System.Net.WebException: The remote server returned an error: (404) Not Found.
  at System.Net.HttpWebRequest.GetResponseFromData (System.Net.WebResponseStream stream, System.Threading.CancellationToken cancellationToken) [0x00146] in <8d1920f66fd6494ebe24fa42f014ba27>:0 
  at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task`1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func`1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x000f8] in <8d1920f66fd6494ebe24fa42f014ba27>:0 
  at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00020] in <8d1920f66fd6494ebe24fa42f014ba27>:0 
  at System.Net.WebClient.GetWebResponse (System.Net.WebRequest request, System.IAsyncResult result) [0x00000] in <8d1920f66fd6494ebe24fa42f014ba27>:0 
  at System.Net.WebClient.GetWebResponseTaskAsync (System.Net.WebRequest request) [0x0008d] in <8d1920f66fd6494ebe24fa42f014ba27>:0 
  at System.Net.WebClient.DownloadBitsAsync (System.Net.WebRequest request, System.IO.Stream writeStream, System.ComponentModel.AsyncOperation asyncOp, System.Action`3[T1,T2,T3] completionDelegate) [0x0008d] in <8d1920f66fd6494ebe24fa42f014ba27>:0 
UnityEngine.Logger:Log (UnityEngine.LogType,object)
Unity.RenderStreaming.Editor.WebAppDownloader/<>c__DisplayClass12_0:<DownloadWebApp>b__0 (object,System.ComponentModel.AsyncCompletedEventArgs) (at ./Library/PackageCache/com.unity.renderstreaming/Editor/WebAppDownloader.cs:89)
UnityEngine.UnitySynchronizationContext:ExecuteTasks () (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnitySynchronizationContext.cs:110)

Expected Behavior

The web app binary should download successfully.

The correct URL appears to be https://github.com/Unity-Technologies/UnityRenderStreaming/releases/download/3.1.0-exp.9/webserver Moreover, the 3.1.0-exp.8 release does not exist on GitHub, and no binary is available on the 3.1.0-exp.9 release page yet.

Anything else?

No response

akriaueno avatar Dec 22 '24 18:12 akriaueno

me too!

ayutaz avatar Dec 25 '24 03:12 ayutaz

Same here. If anyone solved this issue please let me know

Gry-ffindor avatar Dec 31 '24 05:12 Gry-ffindor

yeah looks like the webserver binary isn't available with the latest version. However 3.1.0-exp.7 still has one and that versions webserver still works. I changed line 10 in WebAppDownloder.cs to point to the 3.1.0-exp.7 version instead, not a permanent solution, but it works. Or you could just download the webserver your self. I hope they release a prebuilt binary soon

Ragingram2 avatar Feb 05 '25 10:02 Ragingram2

yeah looks like the webserver binary isn't available with the latest version. However 3.1.0-exp.7 still has one and that versions webserver still works. I changed line 10 in WebAppDownloder.cs to point to the 3.1.0-exp.7 version instead, not a permanent solution, but it works. Or you could just download the webserver your self. I hope they release a prebuilt binary soon

brilliant! I've spent 4 hours on this!

inmim avatar Feb 19 '25 21:02 inmim

Same issue here, so downgrading to 3.1.0-exp.7 works? Just trying it.

fegarza7 avatar Jul 03 '25 23:07 fegarza7

Hi everyone, as @Ragingram2 the binary isn't available. You need to modify it yourself to exp.7 in order to work.

This is a fairly easy fix, that renders the package completely useless (if you don't modify the core script).. my question is, is Unity working on this package still? will they provide further support? I'm planning on using it for a game but right now I don't see it getting much more support in the future and I'm afraid to use it as the basis of my business later after development is complete.

fegarza7 avatar Sep 22 '25 13:09 fegarza7