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 — Support Unity netstandard21 by neuecc · Pull Request #1346 · MessagePack-CSharp/MessagePack-CSharp

Conversation

@neuecc

@neuecc neuecc commented Nov 4, 2021 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

related to #1343
Latest unity adds .NET Standard 2.1 support, it causes some warnings.
Especially HashCode's #if !NETCOREAPP does not work on Unity.

If Unity targets netstandard2.1, defines NET_STANDARD_2_0 and NET_STANDARD.
Unity that does not support netstandard2.1 will not define NET_STANDARD.
So we can use NET_STANDARD to detect netstandard2.1.

Othes, Tests.asmdef defines MsgPack.dll.

Sorry, something went wrong.

Uh oh!

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

All reactions
neuecc added 3 commits November 4, 2021 18:00
@neuecc
removing HashCode when Unity uses netstandard2.1
2119ae6
@neuecc
some dynamic test disable in Unity
c388235
@neuecc
add msgPack.dll reference to Unity's Tests.asmdef
770f341
@neuecc
neuecc requested a review from AArnott November 4, 2021 09:07
@neuecc neuecc mentioned this pull request Nov 4, 2021
This project does not work with Unity 2021.2+ #1343
Closed
@AArnott

AArnott commented Nov 4, 2021

Copy link
Copy Markdown
Collaborator

This sounds like goodness, but till we have unity builds working it's hard to accept any PR in this repo. Our efforts to unblock unity, mac and linux agents are across #1312 and #1345 PRs. We're all set except that unity in #1312 just hangs forever during the build. Can you help, @neuecc ?

All reactions

Sorry, something went wrong.

Uh oh!

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

@neuecc

neuecc commented Nov 5, 2021

Copy link
Copy Markdown
Member Author

Oh, I'll contact my companie's build engineer to resolve it.
Please wait for a next begining of the week.

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 commented Nov 5, 2021 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Collaborator

Woot! I got the master branch build passing again in #1345 by a combination of code changes and getting a build agent running with the original Unity editor v2019.1.10f1 that has worked in the past.
We certainly should still update the version of unity we're using. I have an agent with 2020.3.17f1 ready to go. To move the pipeline to it, we just need to change
https://github.com/neuecc/MessagePack-CSharp/blob/ae79dc68e8fe4f03f4c19bd76e4d1f8bb7c5a984/azure-pipelines.yml#L38

like so

-      - UNITYVERSION -equals 2019.1
+      - UNITYVERSION -equals 2020.3

As the line to be changed was only just introduced in master, if you want to update as part of this PR, you'll have to merge master into your source branch.

All reactions

Sorry, something went wrong.

Uh oh!

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

@neuecc
Merge remote-tracking branch 'origin/master' into unity-netstandard21
c22a7a2
@neuecc

neuecc commented Nov 8, 2021

Copy link
Copy Markdown
Member Author

@AArnott
I've merged orign/master, however Unity agent is stalled The agent request is not running because all potential agents are running other requests. Current position in queue: 1

All reactions

Sorry, something went wrong.

Uh oh!

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

@AArnott

AArnott commented Nov 8, 2021

Copy link
Copy Markdown
Collaborator

@neuecc The build agent had shut down. I've restarted it and configured it to restart itself next time.

All reactions

Sorry, something went wrong.

Uh oh!

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

@neuecc
add dll references
69b8b5f
@neuecc

neuecc commented Nov 9, 2021

Copy link
Copy Markdown
Member Author

@AArnott thanks, all builds passed.

AArnott reacted with hooray emoji
All reactions
  • 🎉 1 reaction

Sorry, something went wrong.

Uh oh!

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

AArnott
AArnott approved these changes Nov 9, 2021
View reviewed changes
@AArnott
AArnott merged commit d374efa into master Nov 9, 2021
@AArnott
AArnott deleted the unity-netstandard21 branch November 9, 2021 18:12
@neuecc neuecc mentioned this pull request Dec 12, 2021
disable HashCode.cs if UNITY_2021_2_OR_NEWER #1357
Merged
@dependabot dependabot Bot mentioned this pull request Sep 21, 2025
Bump MessagePack from 2.1.115 to 2.5.187 starchen/Brighter#4
Closed
This was referenced Oct 26, 2025
Bump MessagePack from 2.3.75 to 2.5.187 managedcode/umap#1
Closed
Bump MessagePack to 2.5.187 Senparc/Senparc.CO2NET#334
Merged
This was referenced Dec 2, 2025
Bump MessagePack from 2.3.85 to 3.1.4 dbolin/Apex.Serialization#262
Closed
Bump MessagePack and MessagePack.ImmutableCollection dbolin/Apex.Serialization#263
Open
@dependabot dependabot Bot mentioned this pull request Dec 10, 2025
Bump MessagePack from 1.9.11 to 2.5.187 dotnet/performance#5069
Open
@dependabot dependabot Bot mentioned this pull request Dec 26, 2025
Bump the nuget group with 2 updates niklasfp/nats.net#1
Closed
@dependabot dependabot Bot mentioned this pull request Feb 20, 2026
Bump MessagePack from 2.3.85 to 3.1.4 Arkatufus/Akka.Persistence.Redis#82
Open
This was referenced Jun 11, 2026
Bump MessagePack from 2.3.85 to 2.5.187 curiosity-ai/wiktionary#1
Closed
Bump MessagePack from 1.7.3.4 to 2.5.301 CodeKeySolutions/CryptoDaytrader#2
Open
Bump MessagePack from 2.1.90 to 2.5.301 NickStrupat/NichoblockStruchain#6
Open
Bump the nuget group with 1 update fhazraty/ReliableDistributedStorageSystem#1
Open
Bump MessagePack from 1.9.11 to 2.5.301 tonyredondo/TWCore2#24
Open
This was referenced Jun 11, 2026
Bump MessagePack from 2.2.85 to 2.5.301 xc-link/license-server#1
Open
Bump MessagePack from 1.9.3 to 2.5.301 itn3000/mqnettests#2
Open
Bump MessagePack from 1.7.3.7 to 2.5.301 KikeE36/MasterMemory#1
Open
Bump the nuget group with 2 updates korgano/CustomAmmoCategories#1
Open
Bump the nuget group with 1 update IntelIntent/BinaryPack#1
Open
Bump MessagePack from 2.2.85 to 2.5.301 shahabganji/EasyCompressor#1
Open
Bump MessagePack from 1.9.11 to 2.5.301 shahabganji/SmartEnum#1
Open
Bump MessagePack from 2.3.85 to 2.5.301 gengle/MessagePipe#3
Closed
Bump the nuget group with 1 update pa-0/ahk.ucrio#1
Open
Bump MessagePack from 2.1.90 to 2.5.301 sniten/psi#2
Open
Bump the nuget group with 1 update abri-herdmaster/HerdMASTER.Dotmim.Sync#5
Open
Bump MessagePack from 2.1.90 to 2.5.301 Cysharp/Ulid#113
Open
Bump MessagePack from 2.2.113 to 2.5.301 x0oo11235oo0x/dotnet-algorand-sdk#1
Open
Bump MessagePack and System.Memory nmaier/NMaier.Serializers#1
Open
Bump MessagePack from 2.3.85 to 2.5.301 curiosity-ai/wiktionary#2
Open
Bump MessagePack from 2.1.115 to 2.5.301 generatives/VoidTraveler#1
Open
Bump MessagePack and System.Memory Philippe-Laval/catalyst#1
Open
Bump MessagePack from 2.1.115 to 2.5.301 starchen/Brighter#5
Open
Bump the nuget group with 1 update pawelkasperek/AlterNats#1
Open
Bump MessagePack from 1.9.11 to 2.5.301 ConnectionMaster/dd-trace-dotnet#788
Open
Bump MessagePack from 1.9.3 to 2.5.301 IllusionMods/ZipStudio#5
Merged
This was referenced Jun 26, 2026
Bump MessagePack from 2.3.112 to 2.5.301 nanoframework/nf-Visual-Studio-extension#936
Closed
Bump the nuget group with 3 updates infinispan/Infinispan.Hotrod.Core#56
Open
@dependabot dependabot Bot mentioned this pull request Sep 15, 2026
Bump MessagePack from 1.9.11 to 2.5.301 f2calv/vs-nuget-issue#1
Closed
This was referenced Oct 19, 2026
Bump MessagePack from 2.3.85 to 2.5.303 gengle/MessagePipe#4
Open
Bump MessagePack from 2.2.85 to 2.5.303 umbraco/Umbraco.Cms.Integrations#347
Open
Bump MessagePack from 2.3.112 to 2.5.303 nanoframework/nf-Visual-Studio-extension#956
Closed
Bump MessagePack to 2.5.303 Senparc/Senparc.CO2NET#347
Open
Bump the nuget group with 5 updates maximumstock/exilence-next#4
Open
@dependabot dependabot Bot mentioned this pull request Nov 7, 2026
Bump MessagePack from 1.7.3.4 to 2.5.303 automatica-core/automatica#136
Closed
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

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

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

2 participants

@neuecc @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.