question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unity 2021.2.0b6 breaks ZString because of System.Memory

See original GitHub issue

Unity updated its framework and now it has System.Memory, but it is not as recent. So it doesn’t have all features, and we can no longer use System.Memory.dll because it will conflict with mscorlib.

For example, using the .NET framework profile (not .NET standard):

ZString\FormatParser.cs(34,28): error CS0570: 'ReadOnlySpan<T>.this[int].get' is not supported by the language
ZString\Shims.cs(51,32): error CS0570: 'ReadOnlySpan<T>.GetPinnableReference()' is not supported by the language

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
neuecccommented, Aug 5, 2021

As posted in the Unity forum, I think this is a bug in Unity.

0reactions
github-actions[bot]commented, Feb 9, 2022

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unity ID
Bug 2021.2.0b6 and System. ... System.Memory seems to be suddenly merged into the mscorlib even for ... This is a bit odd because...
Read more >
Unity 2022.1.0b6
MacOS: [M1] "System is running out of memory" error is thrown when using Profiler as a Standalone Process with Deep Profile turned on ......
Read more >
Unity Editor Beta Releases
Get early access to features in the upcoming full release now. Download Unity 2023.2b. What to expect from a beta.
Read more >
Unity 2022.2.0b6
Linux: [Linux] Crash on DebugStringToFile when starting Editor due to an OpenSSL library dependency from 3rd party Umbra library (UUM-9169).
Read more >
Unity 2021.2.0b13
0b6. IL2CPP: Fixed issue that could cause finally blocks to run more than once. (1357806) First seen in 2021.2.0b7.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found