Search Issue Tracker
By Design
Votes
0
Found in
2018.1.0b13
Issue ID
1020952
Regression
No
[iOS] link.xml does not prevent IL2CPP stripping of generic class's constructor in a library
To reproduce:
1. Open users attached project "ProtobufOnIL2CPP2018.zip"
2. Build for iOS
3. Run the project from Xcode to an iOS device
4. Press "Reflection Test"
5. Observe the Xcode console for exceptions
Expected result: Google.Protobuf.Reflection.ReflectionUtil is called without exceptions
Actual result: exceptions are thrown
Reproduced on: 2018.1.0b1 2018.1.0b13 2018.2.0a8
Tested with API Compatibility: .NET Standard 2.0 and .NET4.6
Device: iPhone 6S Plus iOS 10.3.2
Notes: can not test 2017.3.2f1 and 2017.4.1f1 getting:
error CS0012: The type is defined in an assembly that is not referenced. Consider adding a reference to assembly `System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment