Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2018.4.X, 2019.4.X, 2020.1.X
Votes
0
Found in
2018.4
2019.4.4f1
2020.2
Issue ID
1265192
Regression
No
IL2CPP Build fails when using Microsoft.AspNetCore.Server.Kestrel.Core.dll
How to reproduce:
1. Open the attached "IL2CPP aspnet.server.zip" project
2. Build to Standalone
Expected result: Build succeeds
Actual result: Build with "Microsoft.AspNetCore.Server.Kestrel.Core.dll" fails
Reproducible with: 2018.4.26f1, 2019.4.7f1, 2020.1.1f1, 2020.2.0a20
Full error:
IL2CPP error for method 'System.Void Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpRequestHeaders::SetValueFast(System.String,Microsoft.Extensions.Primitives.StringValues& modreq(System.Runtime.InteropServices.InAttribute))' in assembly 'E:\Files\case_1265192-IL2CPP_aspnet.server\Temp\StagingArea\Data\Managed\Microsoft.AspNetCore.Server.Kestrel.Core.dll'
Additional information: Attempting to constrain an invalid type.
Notes:
- Build succeeds when using Mono backend
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.0b2
Resolution Note (fix version 2020.1):
Fixed in: 2020.1.7f1
Resolution Note (fix version 2019.4):
Fixed in: 2019.4.12f1
Resolution Note (fix version 2018.4):
Fixed in: 2018.4.29f1