Unity-Technologies / UnityRenderStreaming

Streaming server for Unity
Other
1.31k stars 365 forks source link

[BUG]: Blank Streaming screen, with error in the console: [impolite-PeerConnection ConnectionState:New IceConnectionState:New SignalingState:Stable GatheringState:New] this candidate can't accept on state. #962

Open almazkun opened 11 months ago

almazkun commented 11 months ago

Package version

3.1.0-exp.7

Environment

* OS: macOS 14.1 (23B74)
* Unity version: Unity 2021.3.32
* Graphics API: AMD Radeon Pro 5300 4 GB
* Browser: Google Chrome Version 118.0.5993.117 (Official Build) (x86_64)

Steps To Reproduce

  1. Create a Scene: https://docs.unity3d.com/Packages/com.unity.renderstreaming@3.1/manual/create-scene.html
  2. Launch a WebServer: https://docs.unity3d.com/Packages/com.unity.renderstreaming@3.1/manual/webapp.html
  3. open: http://localhost/receiver/index.html
  4. Click on Play btn: See blank page.

Current Behavior

blank page

Expected Behavior

Streaming

Anything else?

[impolite-PeerConnection ConnectionState:New IceConnectionState:New SignalingState:Stable GatheringState:New] this candidate can't accept on state. UnityEngine.Logger:Log (UnityEngine.LogType,object) Unity.RenderStreaming.PeerConnection:OnGotIceCandidate (Unity.WebRTC.RTCIceCandidate) (at Library/PackageCache/com.unity.renderstreaming@3.1.0-exp.7/Runtime/Scripts/PeerConnection.cs:295) Unity.RenderStreaming.SignalingManagerInternal:OnIceCandidate (Unity.RenderStreaming.Signaling.ISignaling,Unity.RenderStreaming.CandidateData) (at Library/PackageCache/com.unity.renderstreaming@3.1.0-exp.7/Runtime/Scripts/SignalingManagerInternal.cs:413) Unity.RenderStreaming.Signaling.WebSocketSignaling/<>c__DisplayClass39_3:b__4 (object) (at Library/PackageCache/com.unity.renderstreaming@3.1.0-exp.7/Runtime/Scripts/Signaling/WebSocketSignaling.cs:248) UnityEngine.UnitySynchronizationContext:ExecuteTasks () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnitySynchronizationContext.cs:107)

karasusan commented 11 months ago

@almazkun Can you share me a full editor log?

And please try the sample project. https://docs.unity3d.com/Packages/com.unity.renderstreaming@3.1/manual/samples.html