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.
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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
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...?