Stream Player Security Exception - Unable to play LiveStreams
complete
Eremite
When entering a Stream (Twitch) link to the VRC_SyncVideoPlayer player ( https://docs.vrchat.com/docs/vrc_syncvideoplayer ), this error is occurring in my world:
2019.09.05 02:28:55 Exception - SecurityException: Unknown type: VRCSDK2.VRC_SyncVideoStream+VideoSyncType
I suspect this is caused by the latest security patch as this was working fine yesterday and nothing has changed on this setup for months.
I tested on the iwaSync player and it seems to work still; it also works if I enable the stream screen and audio before uploading and entering the URL.
I suspect it's something to do with the internal SetSyncType that it does when trying to guess the type based on the parsed URL, but somehow only breaks when the screen is disabled. The video player component itself is always active; only screen and audio are disabled at first.
Build: 848
------------------------------
Full Error:
2019.09.05 03:08:22 Log - [VRC_TriggerInternal] 38.17269 CustomTriggers via PowerOn:Custom executing ActivateCustomTrigger
2019.09.05 03:08:22 Exception - SecurityException: Unknown type: VRCSDK2.VRC_SyncVideoStream+VideoSyncType
VRCSDK2.VRC_Serialization+NetworkSurrogateSelector.GetSurrogate (System.Type type, StreamingContext context, ISurrogateSelector& selector)
System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadTypeMetadata (System.IO.BinaryReader reader, Boolean isRuntimeObject, Boolean hasTypeInfo)
System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectInstance (System.IO.BinaryReader reader, Boolean isRuntimeObject, Boolean hasTypeInfo, System.Int64& objectId, System.Object& value, System.Runtime.Serialization.SerializationInfo& info)
System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObject (BinaryElement element, System.IO.BinaryReader reader, System.Int64& objectId, System.Object& value, System.Runtime.Serialization.SerializationInfo& info)
System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObject (BinaryElement element, System.IO.BinaryReader reader, System.Int64& objectId, System.Object& value, System.Runtime.Serialization.SerializationInfo& info)
System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject (System.IO.BinaryReader reader)
System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph (BinaryElement elem, System.IO.BinaryReader reader, Boolean readHeaders, System.Object& result, System.Runtime.Remoting.Messaging.Header[]& headers)
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler)
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream)
VRCSDK2.VRC_Serialization.ParameterDecoder (System.Byte[] dataParameters, Boolean rethrow)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
VRC_TriggerInternal:EMCBAEFNLBL(TriggerEvent)
VRCSDK2.VRC_Trigger:ExecuteCustomTrigger(String)
VRCSDK2.VRC_Trigger:TriggerCustom(GameObject, String)
VRC_EventDispatcherRFC:IAHNGPJGOAM(VrcBroadcastType, Int32, GameObject, String)
VRC_EventDispatcherRFC:KLGLJIDEDON(VrcEvent, VrcBroadcastType, Int32, Single)
VRC_EventDispatcherRFC:TriggerEvent(VRC_EventHandler, VrcEvent, VrcBroadcastType, Int32, Single)
VRC_EventLog:CMMPEDDGDJK(KPDIFJLAEMG, Player)
VRC.EventReplicator`2:GOHGLBINGNJ(EventType, Boolean, JGNBHMGIPEM)
VRC.EventReplicator`2:ProcessEvent(EventType, JGNBHMGIPEM)
VRC_EventLog:LogEvent(VRC_EventHandler, VrcEvent, VrcBroadcastType, Int32, Single)
VrcSdk2Interface:CBIGFGKEHAF(VRC_EventHandler, VrcEvent, VrcBroadcastType, Int32, Single)
VRCSDK2.VRC_EventHandler:InternalTriggerEvent(VrcEvent, VrcBroadcastType, Int32, Single)
VRCSDK2.VRC_EventHandler:TriggerEvent(VrcEvent, VrcBroadcastType, GameObject, Single)
FIFGGDLAKKG:MoveNext()
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
VRC_TriggerInternal:EMCBAEFNLBL(TriggerEvent)
VRCSDK2.VRC_Trigger:ExecuteCustomTrigger(String)
2019.09.05 03:08:25 Log - [VRC_TriggerInternal] 41.67351 LoadingSlider_Stream via Loaded:Custom executing ActivateCustomTrigger
------------------------------
Log In
Tupper - VRChat Head of Community
complete
Fixed in 2019.3.1p4.
Zephin
This issue is Affecting two of my worlds. Correction: Set Sync Type freezes all further triggers. Baked livestream and video urls are functioning correctly. Here's a picture of the trigger system I'm using in both worlds.
Tupper - VRChat Head of Community
tracked
Lyuma
Same issue in the Rizumu Nightclub world with an extremely simple VRC SyncVideoStream prefab, previously working extremely reliably: https://vrchat.com/home/world/wrld_912760ee-aa19-4442-8b6a-b81721aeb8f0
UI Button does three things:
Activate Custom AlwaysBufferOne trigger -> Clear (), Stop ()
AddURL Dynamic String
Activate Custom AlwaysBufferOne trigger -> SetSyncType (), Next ()
2019.09.05 03:43:37 Exception - SecurityException: Unknown type: VRCSDK2.VRC_SyncVideoStream+VideoSyncType
VRCSDK2.VRC_Serialization+NetworkSurrogateSelector.GetSurrogate (System.Type type, StreamingContext context, ISurrogateSelector& selector)
System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadTypeMetadata (System.IO.BinaryReader reader, Boolean isRuntimeObject, Boolean hasTypeInfo)
System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectInstance (System.IO.BinaryReader reader, Boolean isRuntimeObject, Boolean hasTypeInfo, System.Int64& objectId, System.Object& value, System.Runtime.Serialization.SerializationInfo& info)
System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObject (BinaryElement element, System.IO.BinaryReader reader, System.Int64& objectId, System.Object& value, System.Runtime.Serialization.SerializationInfo& info)
System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObject (BinaryElement element, System.IO.BinaryReader reader, System.Int64& objectId, System.Object& value, System.Runtime.Serialization.SerializationInfo& info)
System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject (System.IO.BinaryReader reader)
System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph (BinaryElement elem, System.IO.BinaryReader reader, Boolean readHeaders, System.Object& result, System.Runtime.Remoting.Messaging.Header[]& headers)
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler)
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream)
VRCSDK2.VRC_Serialization.ParameterDecoder (System.Byte[] dataParameters, Boolean rethrow)
jetdog8808
recently found my theater has the same issue. https://vrchat.com/home/world/wrld_0e2fd258-0ba1-4c89-890b-a26197ef545e