protobuf icon indicating copy to clipboard operation
protobuf copied to clipboard

Build error when trying to build for Android with IL2CPP in Unity 2021

Open boasbakker opened this issue 3 years ago • 3 comments

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

boasbakker avatar Sep 24 '22 10:09 boasbakker

ExampleProject.zip Made a mistake in the example project

boasbakker avatar Sep 24 '22 10:09 boasbakker

@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

conmilo avatar Oct 04 '22 00:10 conmilo

Is this for protobuf? Or for protobuf-net?

googleberg avatar Oct 05 '22 19:10 googleberg

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.

github-actions[bot] avatar Jan 01 '24 10:01 github-actions[bot]

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.

github-actions[bot] avatar Jan 16 '24 10:01 github-actions[bot]