Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2018.4
2019.2
2019.2.12f1
2019.3
2020.1
Issue ID
1202914
Regression
No
[IL2CPP] PreserveSig attribute is ignored when building with IL2CPP
How to reproduce:
1. Open the attached project ("case_1202914-IL2CPP PreserveSig.zip")
2. Make a Standalone build with IL2CPP scripting backend backend
3. Inside the build directory, navigate to "il2cppOutput/Assembly-CSharp.cpp"
4. Inspect the method "struct NOVTABLE I_GUIDUtility_t99B6741753D1A1A8B33D8FA93BAFF72EAB1393C6 : Il2CppIUnknown"
Expected results: Method returns 'int32_t' (PreserveSig attribute is used)
Actual results: Method takes int32_t*' (PreserveSig attribute is ignored)
Reproducible with: 2018.4.15f1, 2019.2.18f1, 2019.3.0f5, 2020.1.0a19
Couldn't test with 2017.4 (IL2CPP backend is not supported)
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
- Crash on "StoredGraphicsBuffer::GetGfxBufferID" when activating VFX via extention of Activation Track in Timeline window
- [Linux] Stack trace file path and line number information is missing when IL2CPP Stacktrace Information is set to "Method Name, File Name, and Line Number"
- Warnings due to obsolete Object.FindObjectsByType<T> usage and [SerializeReference] are logged when opening the Netcode for Entities setup scene
- Non-standard pointers cannot change Inspector values with arrow controls when crossing Inspector area
- No longer able to change the Toggle or Slider GameObjects' Target Graphic value and a NullReferenceException is thrown when the Target Graphic value is set to None at any point
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a3