Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.1.0b13
Issue ID
1027814
Regression
No
[UWP] Multiple exemptions are thrown when building project for .NET
Steps to reproduce:
1. Download attached project
2. Switch platform to UWP
3. Set scripting backend to .NET
4. Build project
Expected results: Build is successfully completed
Actual results: Build failed. Multiple exceptions are thrown related to System.Net.WebSockets.ClientWebSocket
Reproduced with: 2018.2.0b1, 2018.1.0f1, 2018.1.0a6
Note: not reproducible with IL2CPP
One of the exceptions:
Reference rewriter: Error: type `System.Net.WebSockets.ClientWebSocket` doesn't exist in target framework. It is referenced from StupidFun.Games.Unity3D.dll at StupidFun.WebSocketManager.
UnityEngine.Debug:LogError(Object)
PostProcessWinRT:RunReferenceRewriter() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1024)
PostProcessWinRT:Process() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:211)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Why won't fix: System.NetWebSockets.ClientWebSocket isn't supported on .NET scripting backend. If you want to use it, switch to IL2CPP scripting backend.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “ValidateSchema Error2” error is thrown in the Player when using IL2CPP Scripting Backend
- Symbolic links disappear when a .xcframework file is added through the Unity Editor
- Errors regarding importing occur upon opening a project when the "Library" folder is deleted
- MeshRenderer.sortingLayerID cannot be changed when change is being done in a built Player
- Warnings related to App Icon are being thrown when building project to VisionOS Platform
Add comment