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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment