Well, this is difficult to debug since the overflow happened in a nested method. Though since it happens in the cecil library, it has to be something to do with some post processing stuff. Do you have networking code in your project? Do you have any self-referencing datastructures that may be send over the network?
It looks like it tries to parse through some kind of data structure and maybe build or calculate the native size of the required data structure. Though since there may be a circular dependency between some types and all that data is serialized, it runs into a stack overflow as it traverses the type recursively. Though that’s just a wild guess.
You said you migrated your project mid-development to a new version? That’s generally not recommended. Does that also mean you don’t have any backup of your pre-migration project? That would be wild -.-
The migration between versions could include some automatic migration script which may change some of your code. If you don’t have a backup or source control to compare against this will certainly be fun to work out Good luck.
ps: You know that you can use git completely local inside your project. You can commit your changes regularly and it’s all still contained in the same folder, but you have a complete history of all commits you made.
Hey thanks, no beginner there (I mean do beginners uses WinDbg ?), so no issue on the versioning. We know the drill. The upgrade to 2022 was mainly due to other locking and cumbersome issues. Also being on par with latest updates is something you want in the end, in order to actually get sure to have the latest support and features. We’re a small team so we can afford the flexibility and upgrade costs. 2021 LTS will have a longer support as initially expected, but so will 2022 in comparison to 21
Back to the subject, no we don’t have anything to do with network code. We upgraded unity Collections package as it was still on an old version post upgrade but it is not changing the problem, I was pretty sure it would get rid of the issue but unfortunately no.
Also I’m not sure to follow this train of thoughts as how it could be related to PP or Networking ? If I didn’t know better I’d say it’s an AI based reply
Though since it happens in the cecil library, it has to be something to do with some post processing stuff. Do you have networking code in your project? Do you have any self-referencing datastructures that may be send over the network?