![]() The way I was able to obtain a working example of a WebRTC streaming demo was through installing the `Unity Render Streaming preview-2.0.2` from the Package Manager into my own project. My project runs in Unity 2019.3.14f (current atm) and my GPU is RTX 2080 Ti, I have tested the behavior of WebRTC on 3 latest versions of the driver and it was all the same. Part II: Explanation on how was I able to make something work in my project in spite of Part I Please tell me if I am doing something wrong so I could try to do it more correctly. I've tried all this in both Unity 2019.3.6f1 and Unity 2019.3.14f1 (latest atm), and it's always the same.Ĭonclusion/TLDR: I am totally not sure how you manage to run these projects and get any wokring results out of them, so I was unable to test their behavior. Except that these at least know their desired Unity version which is for some reason 2019.3.6f1 and not the latest one or at least pre-latest (why?). I have also tried to open the `-hd` and `-rtx` projects from the `Source code.zip` file, but the result and the errors are the same. Trying to open the non-RTX project, simply the HDRP one, it starts with this, where the project does not even know what version it is supposed to be opened with, again indicating some data corruption:Īnd the rest of the errors is the same as for the RTX project. I've tried this multiple times, with the same result. The Rendering Pipeline is clearly broken and nothing is visible on the scene, both in the Editor and in the Game windows. There are also errors in the rendering pipeline so after running the Rendering Pipeline Wizard and fixing all these errors I get: Right after upgrading and loading the project I am getting these errors: But ok, I click Continue and let Unity upgrade it. ![]() I am not sure how is it possible that it was created in Unity version before 5.0, but probably the project files are corrupted. Firstly when I try opening it, I'm getting this message: But when I try to open the ProjectData~ folder in them as a project (the only thing that is reminiscent of a said project there at all) that does not work well. There are no project available by the link, there are only packages. Part I: Trying to replicate the working case you are referring to I am very much interested in fixing this problem, so if you see something that I did wrong or something else I could try, or if you need some more information from me, I am all open for discussion. The problem still remains after I've tested it through and through on all the versions of Unity and sample projects. My GPU and its drivers are very much suitable for WebRTC and indeed, as I have mentioned, it works, but the only problem is the constantly increasing memory consumption and eventual crash (one of the reports is attached ). TLDR: The referenced sample projects do not work at all. My platform is Windows 10, I am using Unity 2019.3.14f1, packages: WebRTC preview-2.0.2, Unity Render Streaming preview-2.0.2 And this is going to continue up to when it fills up 99% of RAM, at which point the Editor simply becomes unresponsive. So, for example, if I wait several minutes and let it consume 5Gb of RAM, then after stopping the application, the Unity Editor process is going to always have these additional 5Gb of RAM, it does not release them. In both cases the increase is very persistent and does never reduce (nothing gets garbage collected).Īlso, an important fact: if I test this inside the editor, and I stop the application, then a part of the consumed RAM is returned, like normal, but the part that resulted from using WebRTC does not return. I have also noticed that there are periods when it reaches about 3Mb/s, but after several seconds, like 10-20 seconds maybe, it returns back to ~1Mb/s ![]() It is not very constant, one second it can be 100kb/s, but the next second it can be 1.2Mb/s. when doing the same thing in the editor, the memory increase is instead around 1Mb/s.the increase of 6Mb/s happens only in a built application, when I run it as a standalone.Click to expand.My platform is Windows 10, I am using Unity 2019.3.14f1, packages: WebRTC preview-2.0.2, Unity Render Streaming preview-2.0.2
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |