Hello,
I upgraded Unity from 2019.4.16 to 2021.2.13. Ever since, my editor keeps crashing when I open my project. I’ve attached my editor logs, but the culprit is the following error:
The code which produces the error is from a plugin I’ve added to my project called StackExchange.Redis. GitHub - StackExchange/StackExchange.Redis: General purpose redis client
Said plugin has a ref struct called BufferReader StackExchange.Redis/src/StackExchange.Redis/BufferReader.cs at main · StackExchange/StackExchange.Redis · GitHub
If I understand the error message correctly, it points to the Instance ByRefLike field ‘_current’ in that struct, saying that it is not inside another ref struct. Which if you look at the BufferReader type, is clearly not the case.
This is not an issue on 2021.1.x or lower versions. Unfortunately, there’s a feature in 2021.2 that I want, so downgrading is not an option.
Any possible fix, workaround, or just help in general much appreciated!
7932610–1013551–Editor.txt (92.8 KB)