I am having trouble getting a Linux server build using Unity WebRTC to run properly. For the server build I only need the RTCPeerConnections data channels, but the plugin has a dependency to the libvulkan graphics library.
On my server I have libvulkan1 with version 1.2.141 installed which should support OpenGL 4.5 API if I am not mistaken, but during startup I still get the following error:
I found this error in [another thread]( Unity Render Streaming Introduction & FAQ page-8#post-6050300), where it is suggested to check the OpenGL version, which needs to be at least 4.3 for glCopyImageSubData. My installation should meet this criteria.
Since I do not really need the video functionality I was hoping that somebody could give me some advice on how to build the native plugin without the dependency to libvulkan. I would also appreciate hints on how to resolve that dependency problem.
Any tipps or links to appropriate resources would be greatly appreciated!
Thanks in advance and best regards,
Patrick
P.S.: If my post is missing any important information about my setup, I will of course provide it as fast and as best I can.
It’s a hassle to fix this issue. This will be fixed by version 2.4 which is released in February.
I recommend checking the progress of this issue periodically.
I will still keep trying if I can fix this problem for my project in the meantime. My next try would be to statically link the needed libraries. Unfortunatelly I am having trouble finding a static version of libvulkan1 (I only came across the .so versions).
If anybody could give me a hint on where to find the appropriate .a file (or pointers on how to compile it myself), it would be highly appreciated!
Thanks in advance for any feedback, and best regards,
Patrick
Thank you very much for all your help. You are right, the idea with static linking was a dead end. I got rid of my resolving problems in a very hacky way, I removed the offending OpenGL method calls and replaced them by throwing excepions. Not very elegant, since I don’t need video, I can keep working on my project until 2.4 of the Unity WebRTC plugin comes out.
Hello, as this issue still exist, is there a known workaround maybe? I do need the video functionality so I can’t use the hacky way of removing those functions
Fallback handler could not load library …/Mono/libwebrtc
Fallback handler could not load library …/Mono/libwebrtc.so
Fallback handler could not load library …/Mono/webrtc
Actually there is no Mono folder name in the _data folder. What is the reason and where I can find these files?
Sir, i’m developing a AR project (Using MRTK and MixedReaility-WebRTC). My final target is to (1)deploy my project into Hololens2, (2)Another computer will open the MixedReaility-WebRTC Unity project, with a webcam, and i want to stream (real time) the webcam video into Hololens2.
When i test with computer A(sample project) and computer B(sample project), the video can exhange in both side.
But when i open AR (with mrtk sdk) project in computer A, computer B remains, the remote video cannot be exchange, only local video.