Removing System.Memory for Unity plugin

28 views
Skip to first unread message

Markus Appel

unread,
Oct 28, 2025, 2:49:55 PM (5 days ago) Oct 28
to Protocol Buffers
I'm using Protobuf for a plugin for the game Kerbal Space Program, which runs on the Unity game engine, which in turn uses Mono.

I have so far not managed to make any version of Google.Protobuf.dll newer than 3.10.1 work, as after that the library depends on System.Memory, which in turn depends on other libraries. I will continue trying to include them in my plugin, but in the meanwhile I was wondering if there is a chance for a version of Google.Protobuf without a dependency on System.Memory (which was, as far as I can tell, introduced here).

Let me know what you think.
Best regards.

Em Rauch

unread,
Oct 31, 2025, 11:19:14 AM (2 days ago) Oct 31
to Markus Appel, Protocol Buffers
Unfortunately, I think we aren't likely to make nontrivial changes to target that environment (we already have a really large support burden in general from the supported platforms/languages/environments).

If you have a patch is really trivial and otherwise harmless we can review it, otherwise you may need to vendor+patch it yourself realistically.

--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/protobuf/7623cf31-11cb-49df-8fef-0c005b153064n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages