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
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Add comment