GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove Unity related symbols from Nuget projects by pCYSl5EDgo · Pull Request #1888 · MessagePack-CSharp/MessagePack-CSharp

Conversation

@pCYSl5EDgo

@pCYSl5EDgo pCYSl5EDgo commented Jul 18, 2024

Copy link
Copy Markdown
Contributor

Closes #1886

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
pCYSl5EDgo added 5 commits July 18, 2024 23:40
@pCYSl5EDgo
Remove MESSAGEPACK_FORCE_AOT
18c0eb4
@pCYSl5EDgo
Remove UNITY_2018_3_OR_NEWER, MESSAGEPACK_FORCE_AOT
b578d0a
@pCYSl5EDgo
Remove undefined useless symbol UNITY_2021_2_OR_NEWER
13b81bf
@pCYSl5EDgo
Remove unecessary UNITY_2018_3_OR_NEWER
eed9d18
@pCYSl5EDgo
Fix readonly bug
d970bbb
@pCYSl5EDgo pCYSl5EDgo closed this Jul 18, 2024
@pCYSl5EDgo
Fix for DynamicCodeDumper
5704db1
@pCYSl5EDgo pCYSl5EDgo reopened this Jul 18, 2024
AArnott
AArnott approved these changes Jul 18, 2024
View reviewed changes

@AArnott AArnott left a comment

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good. Thanks. Just one cleanup opportunity please.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/MessagePack/Resolvers/DynamicObjectResolver.cs Resolved

Uh oh!

There was an error while loading. Please reload this page.

pCYSl5EDgo added 2 commits July 19, 2024 02:49
@pCYSl5EDgo
Remove redundant Regex variable
02fca8d
@pCYSl5EDgo
Fix formatter issue
99155a2
@pCYSl5EDgo

pCYSl5EDgo commented Jul 18, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

@AArnott Please review the changes.
I do not mind that the commits will be squashed.

AArnott reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

AArnott
AArnott reviewed Jul 18, 2024
View reviewed changes
Comment thread src/MessagePack/Resolvers/DynamicObjectResolver.cs Resolved

Uh oh!

There was an error while loading. Please reload this page.

pCYSl5EDgo and others added 2 commits July 19, 2024 07:10
@pCYSl5EDgo
AvoidDynamic seems appropriate for DynamicAssembly
499299d
@AArnott
Avoid public members in an internal type
7b3c0cd
@AArnott
AArnott merged commit 5793c81 into MessagePack-CSharp:develop Jul 19, 2024
@AArnott AArnott added this to the v3.0 milestone Jul 19, 2024
@pCYSl5EDgo
pCYSl5EDgo deleted the AvoidDynamic branch July 19, 2024 05:21
@AArnott AArnott mentioned this pull request Jul 19, 2024
Merge latest Library.Template #1891
Merged
@evorowy-jk

evorowy-jk commented Jul 28, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Will you guys be able to push this fix onto nuget? There is a serious problem with AOT support right now as nuget packages don't obey MESSAGEPACK_FORCE_AOT or ENABLE_IL2CPP. Resulting in NOT_SUPPORTED exception on Android IL2CPP.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@AArnott

AArnott commented Jul 29, 2024

Copy link
Copy Markdown
Collaborator

@evorowy-jk Can you confirm the problem you're having is with the v3.0 version?
This PR merged into the v3.0 version and released a couple days ago as https://www.nuget.org/packages/MessagePack/3.0.129-beta.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@evorowy-jk

evorowy-jk commented Jul 29, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Sorry, as I sent the comment I saw that new version has been released - unfortunately on Unity 6, on nuget MessagePack 3.0.129-beta with following MessagePack initialization code:

StaticCompositeResolver.Instance.Register(new[]
{
    MasterMemoryResolver.Instance, 
    UlidMessagePackResolver.Instance,
                    
    StandardResolver.Instance
});

During Runtime on Android (IL2CPP build) there is an error with DynamicAssembly:

Error Unity PlatformNotSupportedException: Operation is not supported on this platform.
Error Unity   at System.Reflection.Emit.AssemblyBuilder.DefineDynamicAssembly (System.Reflection.AssemblyName name, System.Reflection.Emit.AssemblyBuilderAccess access) [0x00000] in <00000000000000000000000000000000>:0 
Error Unity   at MessagePack.Internal.DynamicAssembly..ctor (System.String moduleName) [0x00000] in <00000000000000000000000000000000>:0 
Error Unity   at MessagePack.Resolvers.DynamicObjectResolver+<>c.<.cctor>b__4_0 () [0x00000] in <00000000000000000000000000000000>:0 
Error Unity   at ListWithEvents`1[T]..ctor () [0x00000] in ./Library/PackageCache/com.unity.addressables/Runtime/ResourceManager/Util/ListWithEvents.cs:8 
Error Unity   at System.Lazy`1[T].ExecutionAndPublication (System.LazyHelper executionAndPublication, System.Boolean useDefaultConstructor) [0x00000] in <00000000000000000000000000000000>:0 

It is somewhat connected with the defines/this issue - should I open new one though?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@AArnott

AArnott commented Jul 29, 2024

Copy link
Copy Markdown
Collaborator

Yes, please open a new issue. Thanks for reporting.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@evorowy-jk evorowy-jk mentioned this pull request Jul 29, 2024
[v3] Issue with AOT Platforms - DynamicAssembly #1906
Closed
@AArnott AArnott mentioned this pull request Oct 1, 2024
Merge latest Library.Template #1977
Merged
@dependabot dependabot Bot mentioned this pull request Jul 21, 2025
Bump BenchmarkDotNet and 18 others haga-rak/fluxzy.core#439
Closed
This was referenced Aug 4, 2025
Bump Amazon.Lambda.AspNetCoreServer and 31 others exceptionless/Exceptionless.Net#341
Closed
Bump Akka and 8 others akkadotnet/Akka.Persistence.Redis#425
Open
Bump MessagePack from 2.5.187 to 3.1.4 akkadotnet/Akka.Persistence.Redis#429
Open
@dependabot dependabot Bot mentioned this pull request Sep 19, 2025
Bump MessagePack from 2.6.100-alpha to 3.0.300 Revolutionary-Games/Arch.Extended#1
Closed
This was referenced Nov 9, 2026
Bump MessagePack from 2.5.303 to 3.1.12 Franchef/Pifeon#5
Merged
Bump AWSSDK.S3 and 16 others PauloVianaR/ViverAppWeb#25
Closed
Bump the dotnet-dependencies group with 17 updates PauloVianaR/ViverAppWeb#26
Closed
Bump the nuget-major group with 9 updates Tjeerd-menno/nats-manager-ui#380
Closed
chore: Bump the nuget-updates group with 2 updates w1ck3ds0d4/GrainWallet#1
Closed
Bump the nuget group with 17 updates NikiforovAll/adaptive-rate-limiting-dotnet#16
Closed
Bump the nuget group with 1 update TanmayS0406/SSMSClaude-Script#14
Closed
deps: Bump MessagePack from 2.5.307 to 3.1.12 RMBarros-Dev/Hydra-Digital-Shop#14
Closed
Bump Avalonia and 11 others jeremychn/amarre#8
Closed
Bump the dotnet-major group with 8 updates chelomama-dev/finances-hub#32
Open
deps: Bump MessagePack from 2.5.307 to 3.1.12 erikdarlingdata/PerformanceStudio#715
Closed
This was referenced Nov 16, 2026
Bump AWSSDK.S3 and 16 others PauloVianaR/ViverAppWeb#27
Closed
Bump the dotnet-dependencies group with 17 updates PauloVianaR/ViverAppWeb#28
Open
Bump MessagePack from 2.5.307 to 3.1.12 afernandes/DiscoveryDeviceAndroid#5
Open
Bump MessagePack from 2.5.307 to 3.1.12 ErikEJ/SqlServer.Rules#820
Closed
Bump MessagePack from 2.5.307 to 3.1.12 thekim1/kalla#837
Closed
Bump the nuget-major group with 9 updates Tjeerd-menno/nats-manager-ui#386
Closed
Bump MessagePack from 2.5.307 to 3.1.12 jonnymuir/Heliograph#34
Closed
Bump AWSSDK.S3 and 15 others PauloVianaR/ViverAppWeb#30
Open
Bump the nuget-shipped group with 2 updates alexFinn97/scaffolder-for-optimizely#8
Closed
Bump the nuget group with 17 updates NikiforovAll/adaptive-rate-limiting-dotnet#17
Closed
Bump MessagePack from 2.5.307 to 3.1.12 Tjeerd-menno/nats-manager-ui#398
Merged
Bump the nuget group with 3 updates TanmayS0406/SSMSClaude-Script#17
Open
Bump MessagePack and 7 others chelomama-dev/finances-hub#34
Open
This was referenced Nov 23, 2026
Bump AWSSDK.S3 and 15 others PauloVianaR/ViverAppWeb#32
Closed
Bump the dotnet-dependencies group with 16 updates PauloVianaR/ViverAppWeb#33
Open
Bump MessagePack from 2.5.303 to 3.1.12 mortenbrudvik/Obfy#43
Closed
deps: Bump the "weekly" group with 1 update across multiple ecosystems ftichy/MiniShop#192
Merged
Bump MessagePack from 2.5.303 to 3.1.12 D-WIS/DWIS-Blackboard-Tests#45
Open
Bump the nuget group with 17 updates NikiforovAll/adaptive-rate-limiting-dotnet#18
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@AArnott AArnott AArnott approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

v3.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@pCYSl5EDgo @evorowy-jk @AArnott
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.