-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UE5 Server MAC build crash with DolbyIOModule error #415
Comments
It looks like it is failing here to load the first library it tried to find. I found one recent release note that indicates a change to library path creation.
The reason I ask is because I see there is another issue reported for 1.2.1 for Windows that seems similar about regarding game packaging, which I assume was working before, but could be wrong. |
Hi guys!
1. Packaging for MAC was working for 1.1.6, BUT the packaged game crashes on start. For the last one (1.2.1) packaging is not successful at all. We have to fix it due to fixed issues in 1.2.1.
2. We still have a problem, when you share window (some app) and close this app during sharing - we have crash.
3. Also, we've found a bug with 2DRHI texture. Looks like you are passing RHI texture ref and 2DTexture size, and in some cases, it causes UpdateTexture error and crash:
[2023.09.15-07.51.28:627][728]LogWindows: Error: Assertion failed: UpdateRegion.DestX + UpdateRegion.Width <= Texture->GetSizeX() [File:C:\UnrealEngine\Engine\Source\Runtime\RHI\Public\RHICommandList.h] [Line: 812]
[2023.09.15-07.51.28:627][728]LogWindows: Error: UpdateTexture2D out of bounds on X. Texture: Texture2D_2147480439, 0, 480, 320
We've made fix and it is work:
[cid:82347bd2-2d39-44a9-a780-553b3f12a82c]
Best regards,
Engineering Lead
Anton Iovbak
…________________________________
From: Dejan Jovasevic ***@***.***>
Sent: Wednesday, October 4, 2023 8:38 PM
To: DolbyIO/comms-sdk-unreal ***@***.***>
Cc: Anton Iovbak ***@***.***>; Author ***@***.***>
Subject: Re: [DolbyIO/comms-sdk-unreal] UE5 Server MAC build crash with DolbyIOModule error (Issue #415)
It looks like it is failing here to load the first library it tried to find. I found one recent release note that indicates a change to library path creation.
Not sure if this is the issue though so I have some question:
* Did this work in previous versions and stopped working in the latest ones?
* For instance 1.1.X did not have this issue or has packaging a game never been possible on macOS?
* Did it work with previous versions with Windows?
The reason I ask is because I see there is another issue reported for 1.2.1 for Windows<#418> that seems similar about regarding game packaging, which I assume was working before, but could be wrong.
If it did work before it is possible that something like this change will fix it<625e051> and here are the artifacts for this attempt<https://github.com/DolbyIO/comms-sdk-unreal/actions/runs/6409098924>.
—
Reply to this email directly, view it on GitHub<#415 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BCQROF45ISEE5BJTWTOSG5DX5WNJBAVCNFSM6AAAAAA47PXWKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBXGM2TOMBTGU>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
what does this mean? What fix have you made and what was it for (packaging or the crashes with the texture); is it in the Unreal SDK? Could you share/submit it to some branch? When was the last time you packaged a game and it didn't crash on mac? Or does it always crash? |
1. This fix into your plugin's file. DolbyIOVideoTexture.cpp, void FVideoTexture::Render() method.
2. It is always crash with Dolby, even if it is packaged.
BR
Anton
…________________________________
From: Dejan Jovasevic ***@***.***>
Sent: Thursday, October 5, 2023 11:38 AM
To: DolbyIO/comms-sdk-unreal ***@***.***>
Cc: Anton Iovbak ***@***.***>; Author ***@***.***>
Subject: Re: [DolbyIO/comms-sdk-unreal] UE5 Server MAC build crash with DolbyIOModule error (Issue #415)
We've made fix and it is work: [cid:82347bd2-2d39-44a9-a780-553b3f12a82c]
what does this mean? What fix have you made and what was it for; is it in the Unreal SDK? Could you share/submit it to some branch?
When was the last time you packaged a game and it didn't crash on mac? Or does it always crash?
—
Reply to this email directly, view it on GitHub<#415 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BCQROFZGQIAGZZBMV6FZTKDX5ZWZXAVCNFSM6AAAAAA47PXWKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBYGM4DIOBWGQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Ok so it just for rendering, not packaging. Since this project is completely open source can you upstream the fix so we can merge it? And then to reiterate the previous question about plugin packaging; it is using the DolbyIOModule.cpp from CoSocietyUnreal/Plugins... folder but looking for the library inside CoSociety/Plugins.... is this how plugins are normally loaded or should it be in the same folder? Like could this be the bug that the DolbyIOModule.cpp code is not setting proper path or something? |
Can you try with the artifacts from this run? https://github.com/DolbyIO/comms-sdk-unreal/actions/runs/6429286687 |
@Krysed and I have been able to use the 1.2.2-beta.1 plugin from the latest artifacts and package the internal repo application on x86/arm macOS platforms. |
Hi!
Cannot open https://github.com/dolbyio-samples/comms-unreal-demo-internal/tree/main
BR
Anton
…________________________________
From: Dejan Jovasevic ***@***.***>
Sent: Monday, October 9, 2023 10:22 AM
To: DolbyIO/comms-sdk-unreal ***@***.***>
Cc: Anton Iovbak ***@***.***>; Author ***@***.***>
Subject: Re: [DolbyIO/comms-sdk-unreal] UE5 Server MAC build crash with DolbyIOModule error (Issue #415)
@Krysed<https://github.com/Krysed> and I have been able to use the 1.2.2-beta.1 plugin from the latest artifacts and package the Unreal Demo<https://github.com/dolbyio-samples/comms-unreal-demo-internal/tree/main> application on x86/arm macOS platforms.
We were able to run the resulting application on both platforms. So not really sure where the issue is on yours? Does this UE5 server concept change things, or is this irrelevant?
—
Reply to this email directly, view it on GitHub<#415 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BCQROF5QPICQXMK2E2OUI3LX6OQ4DAVCNFSM6AAAAAA47PXWKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSGQ3DMNZUHA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sorry I added the wrong link. It should be [internal repo] |
Note that we were also able to package/run using the 1.2.1 version of the plugin on macOS, so I am not sure that 1.2.2 changes will affect you. Likely you will be running into the same issue you had before. |
Excuses, man) but still the same. Is it a public repo?
BR
Anton
…________________________________
From: Dejan Jovasevic ***@***.***>
Sent: Monday, October 9, 2023 1:31 PM
To: DolbyIO/comms-sdk-unreal ***@***.***>
Cc: Anton Iovbak ***@***.***>; Author ***@***.***>
Subject: Re: [DolbyIO/comms-sdk-unreal] UE5 Server MAC build crash with DolbyIOModule error (Issue #415)
Sorry I added the wrong link. It should be https://github.com/dolbyio-samples/comms-unreal-demo
—
Reply to this email directly, view it on GitHub<#415 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BCQROF5VPYXQEUBEOAK2ACDX6PG7JAVCNFSM6AAAAAA47PXWKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSG42TCOJTHE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Ok, no worries. My plan is to check the demo vanilla project first and then try it in our project.
…________________________________
From: Dejan Jovasevic ***@***.***>
Sent: Monday, October 9, 2023 2:10 PM
To: DolbyIO/comms-sdk-unreal ***@***.***>
Cc: Anton Iovbak ***@***.***>; Author ***@***.***>
Subject: Re: [DolbyIO/comms-sdk-unreal] UE5 Server MAC build crash with DolbyIOModule error (Issue #415)
Note that we were also able to package/run using the 1.2.1 version of the plugin on macOS, so I am not sure that 1.2.2 changes will affect you. Likely you will be running into the same issue you had before.
So to re-iterate something that we may not be understanding; what does it exactly mean UE5 Server MAC build? Is this a different way to package the game that we need to try? Or does it mean something else? Like from what I understand you are still using the plugin as intended for client application, so clarifying this part could be the part we are missing.
—
Reply to this email directly, view it on GitHub<#415 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BCQROF4KUPHJZWDAU4XRNWLX6PLR7AVCNFSM6AAAAAA47PXWKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSHAYDKNBUHE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Yes my bad, these are all internal. I thought this second one was a public repository. But I see now it is all internal repositories that were never opened. |
So, what is eventually? Could you just package sample and send to me via email or somehow to check? Or it is restricted on your side?
BR
Anton
…________________________________
From: Dejan Jovasevic ***@***.***>
Sent: Monday, October 9, 2023 2:12 PM
To: DolbyIO/comms-sdk-unreal ***@***.***>
Cc: Anton Iovbak ***@***.***>; Author ***@***.***>
Subject: Re: [DolbyIO/comms-sdk-unreal] UE5 Server MAC build crash with DolbyIOModule error (Issue #415)
Yes my bad, these are all internal. I thought this second one was a public repository.
—
Reply to this email directly, view it on GitHub<#415 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BCQROF4EZMETTIFEQ2QXBUTX6PLYXAVCNFSM6AAAAAA47PXWKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSHAYDOOBVGQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
No I cannot share the sample project. It has not been open sourced. |
Hi guys!
As we've talked, I've downloaded dolby project https://github.com/DolbyIO/comms-sdk-unreal, created new branch for UpdateTexture fix, but I cannot push it.
Seems like I don't have access to do that. Could you check pls?
[cid:6788cf88-4c9f-4c07-900f-b0053296264b]
Best regards,
Engineering Lead
Anton Iovbak
…________________________________
From: Dejan Jovasevic ***@***.***>
Sent: Monday, October 9, 2023 2:51 PM
To: DolbyIO/comms-sdk-unreal ***@***.***>
Cc: Anton Iovbak ***@***.***>; Author ***@***.***>
Subject: Re: [DolbyIO/comms-sdk-unreal] UE5 Server MAC build crash with DolbyIOModule error (Issue #415)
No I cannot share it. It has not been open sourced.
—
Reply to this email directly, view it on GitHub<#415 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BCQROF2OQZKJYK4J2UMY3V3X6PQMLAVCNFSM6AAAAAA47PXWKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSHA3DGMBUGY>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Yes you are correct it seems that the default permissions for the repo is to create PRs/Issues but can't push directly into repo. So in order to make the PR will in fact need to do the fork/PR workflow. |
Hi!
Made PR
BR
Anton Iovbak
…________________________________
From: Dejan Jovasevic ***@***.***>
Sent: Monday, October 16, 2023 10:06 AM
To: DolbyIO/comms-sdk-unreal ***@***.***>
Cc: Anton Iovbak ***@***.***>; Author ***@***.***>
Subject: Re: [DolbyIO/comms-sdk-unreal] UE5 Server MAC build crash with DolbyIOModule error (Issue #415)
Yes you are correct it seems that the default permissions for the repo is to create PRs/Issues but can't push directly into repo. So in order to make the PR will in fact need to do the fork/PR workflow<https://gist.github.com/Chaser324/ce0505fbed06b947d962>.
—
Reply to this email directly, view it on GitHub<#415 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BCQROF7WHROQDKCQFBZFZP3X7TMITANCNFSM6AAAAAA47PXWKE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hi guys!
Could you give us an access to video processing handler config into plugin? As I see we have it in SDK.
We want to restrict framerate for decrease net and CPU usage.
As I see you are using VideoHandler, but if want to change FPS we have to use VideoProcessingHandler and change config data. Am I right? How to set less FPS for all users?
Maybe it is already there but I cannot find a way without plugin changes.
[cid:d5cd8444-a109-429b-82a3-9ec8330c4caa]
…________________________________
From: Dejan Jovasevic ***@***.***>
Sent: Thursday, October 5, 2023 4:35 PM
To: DolbyIO/comms-sdk-unreal ***@***.***>
Cc: Anton Iovbak ***@***.***>; Author ***@***.***>
Subject: Re: [DolbyIO/comms-sdk-unreal] UE5 Server MAC build crash with DolbyIOModule error (Issue #415)
Can you try with the artifacts from this run? https://github.com/DolbyIO/comms-sdk-unreal/actions/runs/6419413731
Also what is UE5 Server on MAC is this like a different way of packaging of Unreal or something like this? Google has not been helpful here. @Krysed<https://github.com/Krysed> was able to package game on macOS from what I understand with UE5.
—
Reply to this email directly, view it on GitHub<#415 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BCQROF3J3QELTUMJIRHD5NTX52ZRTAVCNFSM6AAAAAA47PXWKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBYHEYTIMJZHA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
________________________________
From: Anton Iovbak ***@***.***>
Sent: Thursday, November 9, 2023 12:05 PM
To: DolbyIO/comms-sdk-unreal ***@***.***>; DolbyIO/comms-sdk-unreal ***@***.***>
Cc: Author ***@***.***>
Subject: Re: [DolbyIO/comms-sdk-unreal] UE5 Server MAC build crash with DolbyIOModule error (Issue #415)
Hi guys!
Could you give us an access to video processing handler config into plugin? As I see we have it in SDK.
We want to restrict framerate for decrease net and CPU usage.
As I see you are using VideoHandler, but if want to change FPS we have to use VideoProcessingHandler and change config data. Am I right? How to set less FPS for all users?
Maybe it is already there but I cannot find a way without plugin changes.
[cid:d5cd8444-a109-429b-82a3-9ec8330c4caa]
…________________________________
From: Dejan Jovasevic ***@***.***>
Sent: Thursday, October 5, 2023 4:35 PM
To: DolbyIO/comms-sdk-unreal ***@***.***>
Cc: Anton Iovbak ***@***.***>; Author ***@***.***>
Subject: Re: [DolbyIO/comms-sdk-unreal] UE5 Server MAC build crash with DolbyIOModule error (Issue #415)
Can you try with the artifacts from this run? https://github.com/DolbyIO/comms-sdk-unreal/actions/runs/6419413731
Also what is UE5 Server on MAC is this like a different way of packaging of Unreal or something like this? Google has not been helpful here. @Krysed<https://github.com/Krysed> was able to package game on macOS from what I understand with UE5.
—
Reply to this email directly, view it on GitHub<#415 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BCQROF3J3QELTUMJIRHD5NTX52ZRTAVCNFSM6AAAAAA47PXWKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBYHEYTIMJZHA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hi Jon,
If you are able to help on the below matter reported by Anton, that would be much appreciated as we need to restrict framerate with camera sharing as otherwise we have some quite severe performance issues.
All the best,
Patrick.
Patrick Wheeler
CTO
[image001.png]
+49 172 656 7345
[image002.png]
cosociety.co<https://cosociety.co/>
[image003.png]
Hamburg, Germany
[image004.gif]<https://cosociety.co/>
From: Anton Iovbak ***@***.***>
Sent: Friday, November 10, 2023 9:22 AM
To: Dejan Jovasevic ***@***.***>
Cc: Patrick Wheeler ***@***.***>; Andrei Sabin ***@***.***>; DolbyIO/comms-sdk-unreal ***@***.***>; DolbyIO/comms-sdk-unreal ***@***.***>
Subject: Fw: [DolbyIO/comms-sdk-unreal] UE5 Server MAC build crash with DolbyIOModule error (Issue #415)
…________________________________
From: Anton Iovbak ***@***.******@***.***>>
Sent: Thursday, November 9, 2023 12:05 PM
To: DolbyIO/comms-sdk-unreal ***@***.******@***.***>>; DolbyIO/comms-sdk-unreal ***@***.******@***.***>>
Cc: Author ***@***.******@***.***>>
Subject: Re: [DolbyIO/comms-sdk-unreal] UE5 Server MAC build crash with DolbyIOModule error (Issue #415)
Hi guys!
Could you give us an access to video processing handler config into plugin? As I see we have it in SDK.
We want to restrict framerate for decrease net and CPU usage.
As I see you are using VideoHandler, but if want to change FPS we have to use VideoProcessingHandler and change config data. Am I right? How to set less FPS for all users?
Maybe it is already there but I cannot find a way without plugin changes.
***@***.***
________________________________
From: Dejan Jovasevic ***@***.******@***.***>>
Sent: Thursday, October 5, 2023 4:35 PM
To: DolbyIO/comms-sdk-unreal ***@***.******@***.***>>
Cc: Anton Iovbak ***@***.******@***.***>>; Author ***@***.******@***.***>>
Subject: Re: [DolbyIO/comms-sdk-unreal] UE5 Server MAC build crash with DolbyIOModule error (Issue #415)
Can you try with the artifacts from this run? https://github.com/DolbyIO/comms-sdk-unreal/actions/runs/6419413731
Also what is UE5 Server on MAC is this like a different way of packaging of Unreal or something like this? Google has not been helpful here. @Krysed<https://github.com/Krysed> was able to package game on macOS from what I understand with UE5.
—
Reply to this email directly, view it on GitHub<#415 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BCQROF3J3QELTUMJIRHD5NTX52ZRTAVCNFSM6AAAAAA47PXWKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBYHEYTIMJZHA>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Hi, so we do not have a frame-rate control mechanism in the underlying c++sdk and unfortunately we will not be adding it as a new feature to the sdk in the near future. In general webrtc decides based on BWE the available bitrate what it can encode and at what frequency. The video processor plugin does not control the frame rate, it is actually using a Dolby Video Processing library to segment and blur the background of the capture image. There is no mechanism exposed from the c++sdk to just set desired frames, and thus nothing in the Unreal SDK.
Or if you were to just make a copy of/edit the DolbyIOVideoProcessingFrameHandler and modify it a bit. You will need to pass it the desired frame rate that you would like. Then the handle frame function would look something like:
|
Describe the bug
After packaging UE5 Server on MAC crash with DolbyIOModule error
Expected Behavior
[Describe the expected behavior of the feature.]
Specifications
The text was updated successfully, but these errors were encountered: