Build error when trying to build for Android with IL2CPP in Unity 2021
Build error Protobuf in Unity 2021 Android IL2CPP.txt This is the error
Fatal error in Unity CIL Linker System.NullReferenceException: Object reference not set to an instance of an object. at Unity.Linker.Analytics.AnalyticsService.RecognizedReflectionAccessPattern(IMemberDefinition source, Instruction sourceInstruction, IMetadataTokenProvider accessedItem) The rest is in the text file ExampleProject.zip I also uploaded an example project I am using: protobuf-net.core.3.1.22 protobuf-net.3.1.22 system.collections.immutable.6.0.0 system.runtime.compilerservices.unsafe.6.0.0 Unity 2021.3.10f1
ExampleProject.zip Made a mistake in the example project
@boasbakker This may be a Unity issue. See here and here. Maybe you can roll back to Unity 2021.3.9f1 until the fix is released
Is this for protobuf? Or for protobuf-net?
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment.
This issue is labeled inactive because the last activity was over 90 days ago.
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please reopen it.
This issue was closed and archived because there has been no new activity in the 14 days since the inactive label was added.