Describe the bug
After adding MLAPI to my project, WebGL builds fail.
To Reproduce
Steps to reproduce the behavior:
- Create a new Unity project (3D).
- Add the MLAPI project via the package manager (git).
- File->Build Settings->WebGL->Switch Platform->Build
Expected behavior
Project builds successfully.
Screenshots
See below.
Environment (please complete the following information):
- OS: Windows 10
- Unity Version: 2019.4.21f1 Personal
- MLAPI Version: 0.10.0
- MLAPI Commit:3e3aef6
Additional context
Errors (for searchability):
Library\PackageCache\com.unity.multiplayer.mlapi@3e3aef6aa0\Runtime\Transports\UNET\RelayTransport.cs(251,74): error CS0117: 'NetworkTransport' does not contain a definition for 'QueueMessageForSending'
Library\PackageCache\com.unity.multiplayer.mlapi@3e3aef6aa0\Runtime\Transports\UNET\RelayTransport.cs(266,60): error CS0117: 'NetworkTransport' does not contain a definition for 'QueueMessageForSending'
Library\PackageCache\com.unity.multiplayer.mlapi@3e3aef6aa0\Runtime\Transports\UNET\RelayTransport.cs(271,74): error CS0117: 'NetworkTransport' does not contain a definition for 'SendQueuedMessages'
Library\PackageCache\com.unity.multiplayer.mlapi@3e3aef6aa0\Runtime\Transports\UNET\RelayTransport.cs(273,60): error CS0117: 'NetworkTransport' does not contain a definition for 'SendQueuedMessages'
Error building Player because scripts had compiler errors
Build completed with a result of 'Failed' in 1 seconds (1391 ms)
UnityEngine.GUIUtility:ProcessEvent (int,intptr)
UnityEditor.BuildPlayerWindow+BuildMethodException: 5 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bf] in <208995a09fe148f5a6f6c571838c154f>:0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <208995a09fe148f5a6f6c571838c154f>:0
UnityEngine.GUIUtility:ProcessEvent (int,intptr)
Describe the bug
After adding MLAPI to my project, WebGL builds fail.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Project builds successfully.
Screenshots
See below.
Environment (please complete the following information):
Additional context
Errors (for searchability):