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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Add comment