Inconsistent Crashes
The idea of this app, is to stream UDP, and RTSP feeds. In the future perhaps http. I don't know the address of the streams that I will be inputting until the moment of, so Im trying to make this as robust as possible. I have a plugin to create a virtual camera. Basically there are cameras looking at the VLC Texture 2d's that send this information to a capture source. The plugin used is here: https://github.com/schellingb/UnityCapture The following is a very basic setup of what I have so far.
Once I build and run the app.. its a 50/50 chance that it crashes. When it works, it works! When it crashes, its usually just after starting the application. Here are the 2 script files that capture and display the vlc stream. OptimalPlayback.cs StreamScript.cs.meta
Backtrace information Call Stack: [ 00 ] 0x180002cab [ 01 ] _vsnprintf [ 02 ] 0x100000001 [ 03 ] 0x7ffc00000802 [ 04 ] 0x7ffc53ff5148 [ 05 ] 0x1800020d2 [ 06 ] 0x7ffc53ff5148 [ 07 ] 0x7ffc53f92e8b [ 08 ] 0x7ffc53fdb91e [ 09 ] 0x7ffc3c169b91 [ 10 ] 0x7ffc3c166015 [ 11 ] 0x7ffc3c174d53 [ 12 ] 0x7ffc00000005 [ 13 ] 0x7ffc3c1692fb [ 14 ] 0x7ffc3c23f688 [ 15 ] 0x7ffc53fdb198 [ 16 ] 0x7ffc53fdb2a6 [ 17 ] 0x7ffc53fdb913 [ 18 ] 0x7ffc000061b0 [ 19 ] 0x7ffc3c351f48 [ 20 ] 0x7ffc3c23f688 [ 21 ] 0x7ffc53fdb91e [ 22 ] 0x7ffc3c14be20 [ 23 ] 0x7ffc3c16a914 [ 24 ] 0x7ffc3c240844 [ 25 ] 0x7ffc53fdb2a6 [ 26 ] 0x7ffc0000010d [ 27 ] 0x7ffc53fdb913 [ 28 ] 0x7ffc53ff5148 [ 29 ] 0x7ffc3c14be20 [ 30 ] 0x7ffc53f94947 [ 31 ] 0x7ffc53f9a77c [ 32 ] 0x7ffc3c16953a [ 33 ] 0x7ffc53fdb913 [ 34 ] 0x7ffc53fdb91e [ 35 ] 0x7ffc3c1692fb [ 36 ] 0x7ffc53f9482d [ 37 ] 0x7ffc3c13d658 [ 38 ] 0x7ffc3c240844 [ 39 ] 0x7ffc3c16a914 [ 40 ] 0x7ffc3c13f840 [ 41 ] 0x7ffc3c2407d0 [ 42 ] 0x7ffc000000f2 [ 43 ] 0x7ffc3c240823 [ 44 ] 0x7ffc3c240844 [ 45 ] 0x7ffc3c351f48 [ 46 ] 0x7ffc3c14ba76 [ 47 ] malloc [ 48 ] 0x7ffc00000000 [ 49 ] 0x7ffc68bf1706 [ 50 ] 0x180003038 [ 51 ] free