Search Issue Tracker
Won't Fix
Fixed in 2018.3.X
Votes
0
Found in
2017.4.12f1
2018.1.1f1
2018.1.9f2
2018.2.16f1
2018.3.0b9
2019.1.0a8
Issue ID
1094621
Regression
No
[IL2CPP] Certain LINQ query operation return null
Steps to reproduce:
1. Download attached project
2. Build a "scene" for the Standalone platform
3. Launch player
Expected results: operation returns the correct value
Actual results: operation returns null
Reproduced with: 2019.1.0a8, 2018.3.0b9, 2018.2.16f1, 2018.1.9f2
LINQ operation (from SQLite client):
var tableAttr =
typeInfo.CustomAttributes
.Where(x => x.AttributeType == typeof(TableAttribute))
.Select(x => (TableAttribute)Orm.InflateAttribute(x))
.FirstOrDefault ();
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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Resolution Note (2019.1.X):
We've corrected a problem was related to the AttributeType property of the CustomAttributeData type returned from TypeInfo.CustomAttributes. IL2CPP was providing the based class type (System.Attribute) instead of TableAttribute. The SQLLite code also uses the ConstructorArguments part of TypeInfo. Supporting this properly is difficult in IL2CPP now, as we will need to collect significantly more metadata and ship that metadata with the final build of a game. We're not planning to do that now, as it will increase distribution size too much.