-
Notifications
You must be signed in to change notification settings - Fork 84
Description
Hello, I'm a Unity Developer building my project with .Net 4.6. I would like to use WAMP with Unity, as we already do tons of RPC calls in multiplayer game dev.
I'm following the documentation here, and have copied the sample script, replacing the url and subscribing to the correct feed:
I've successfully imported the DLLs into my Unity project and the script does not have any errors.
However, this script calls: channel.Open().Wait(5000);, which I receive the following error:
Exception: RemoteCertificateChainErrors
Rethrow as AggregateException: One or more errors occurred.
System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) (at <c95265f74fdf4905bfb0d5a4b652216c>:0)
System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) (at <c95265f74fdf4905bfb0d5a4b652216c>:0)
System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout) (at <c95265f74fdf4905bfb0d5a4b652216c>:0)
WAMPClientTest.Main () (at Assets/WAMPClientTest.cs:27)
I've tried to find out why this is happening, to no avail. Here's some info about my environment:
Building from: WampSharp-1.2.7.45-beta\src\net45\WampSharp.Default.Client
Unity version: 2017.3.0f3
Unity API Compatibility: .Net 4.6
Visual Studio 2017: - Right click WampSharp.Default.Client > Properties > Target Framework > .Net 4.6
Any ideas how I can get past this error and get WampSharp working with Unity?