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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment