Search Issue Tracker
By Design
Votes
0
Found in
2017.1.0b6
Issue ID
913012
Regression
No
[New Scripting Runtime] il2cpp build throws exception for the scenario
1. What happened
Testing on 'Best HTTP' A$ package (https://www.assetstore.unity3d.com/en/#!/content/10872).
Reproduced with the new runtime, il2cpp build for UWP.
Other combinations for UWP didn't produce the erro: 4.6 + .net; 3.5 + .net; 3.5 + il2cpp.
The error:
Exception thrown at 0x00007FFD35759D2A (ntdll.dll) in New Unity Project 1.exe: 0xC0000008: An invalid handle was specified.
2. How we can reproduce it using the example you attached
- Build for UWP, new runtime, il2cpp
- Launch (I was launching in Debug from VS2015)
- On the left select 'WebSocket Samples > Echo'
- At the bottom of the app click 'Start Sample'
- At the bottom select 'Open Web Socket'
- At the bottom right select 'Back'
--->
At this point the exception is caught by VS.
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Performance Markers Search window shows an empty entry in the list
- Enabling Deep Profiling in Performance Markers Search window breaks Inspector panel buttons when navigating through the marker items
- Dragging selector from selector row background shows preview but does not apply class in UI Builder
- An "InvalidOperationException" error is thrown when TryRemoveItem is used with rebuildTree set to false
- Build fails with IL2CPP error when building on Android platform in a specific project
spierce
Feb 27, 2018 17:34
I'm seeing these exceptions as well. They don't seem to cause any problems - my socket connections are going through. I'm also using UWP on IL2CPP building against .NET 4.6 (with Unity 5.6.3p4).
It's strange that this exception is "by design"? Just on this one platform...?