Skip to content

Commit 9992c56

Browse files
committed
fix RIDER-42516
1 parent a9ae5b7 commit 9992c56

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

resharper/resharper-unity/src/Rider/UnityEditorProtocol.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ private void CreateProtocols(FileSystemPath protocolInstancePath)
156156

157157
myLogger.Info("Creating SocketWire with port = {0}", protocolInstance.Port);
158158
var wire = new SocketWire.Client(lifetime, myDispatcher, protocolInstance.Port, "UnityClient");
159-
159+
wire.BackwardsCompatibleWireFormat = true;
160+
160161
var protocol = new Protocol("UnityEditorPlugin", new Serializers(),
161162
new Identities(IdKind.Client), myDispatcher, wire, lifetime);
162163

unity/EditorPlugin/NonUnity/RiderProtocolController.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ public RiderProtocolController(IScheduler mainThreadScheduler, Lifetime lifetime
2222
ourLogger.Verbose("Start ControllerTask...");
2323

2424
Wire = new SocketWire.Server(lifetime, mainThreadScheduler, null, "UnityServer");
25+
Wire.BackwardsCompatibleWireFormat = true;
26+
2527
ourLogger.Verbose($"Created SocketWire with port = {Wire.Port}");
2628
}
2729
catch (Exception ex)

0 commit comments

Comments
 (0)