Unity-Technologies / Unity-Technologies/com.unity.webrtc
[BUG]: Editor crashes when Renderdoc is loaded
Open
@karasusan is already working on this.
Since Dec 28, 2021.
bug
issued
- Dominant language
- Assembly
- Stars
- 852
- Forks
- 238
- PR merge metrics
- No merged PRs in 30d
Description
Package version
2.4.0-exp.4
Environment
* OS: windows10
* Unity version: Unity 2021.2
Steps To Reproduce
- Install Renderdoc
- Enable Renderdoc in Game Menu (https://docs.unity3d.com/Manual/RenderDocIntegration.html)
- Press Play
Current Behavior
Unity crashes
Expected Behavior
Unity does not crash
Anything else?
The crash log indicates that the problem exists with Unity-WebRTC:
Obtained 28 stack frames
0x00000242654254ce (Mono JIT Code) (wrapper managed-to-native) Unity.WebRTC.NativeMethods:GetHardwareEncoderSupport ()
0x000002426542520b (Mono JIT Code) [Context.cs:20] Unity.WebRTC.Context:Create (int,Unity.WebRTC.EncoderType,bool)
0x0000024265424a8b (Mono JIT Code) [WebRTC.cs:390] Unity.WebRTC.WebRTC:Initialize (Unity.WebRTC.EncoderType,bool,bool)
0x00000242654244eb (Mono JIT Code) [WebRTC.cs:355] Unity.WebRTC.WebRTC:Initialize (Unity.WebRTC.EncoderType,bool)
0x0000024265423c93 (Mono JIT Code) [WebRTCConnector.cs:75] MHD.WebRTCConnector:Start ()
0x000002429072dd98 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007ff8c50ee034 (mono-2.0-bdwgc) mono_jit_set_domain
0x00007ff8c502e724 (mono-2.0-bdwgc) mono_object_get_virtual_method
0x00007ff8c502e8bc (mono-2.0-bdwgc) mono_runtime_invoke
0x00007ff7da454474 (Unity)
0x00007ff7da44f094 (Unity)
0x00007ff7da423312 (Unity)
0x00007ff7da423448 (Unity)
0x00007ff7da41da72 (Unity)
0x00007ff7d9f25044 (Unity)
0x00007ff7da1324b9 (Unity)
0x00007ff7da11a1dc (Unity)
0x00007ff7da11a2b3 (Unity)
0x00007ff7da11fec9 (Unity)
0x00007ff7db04c968 (Unity)
0x00007ff7db0387f4 (Unity)
0x00007ff7db047aba (Unity)
0x00007ff7db04addd (Unity)
0x00007ff7db4862ba (Unity)
0x00007ff7db48aadb (Unity)
0x00007ff7dc79aaa2 (Unity)
0x00007ff995cb7034 (KERNEL32) BaseThreadInitThunk
0x00007ff997462651 (ntdll) RtlUserThreadStart
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.