Scripts failing silently .net 3.5 to .net 4.0

Today I tried changing my project scripting runtime version from using .net 3.5 equivalent to .net 4.0 equivalent. Since then the project has been having all sorts of issues. Scripts are randomly failing. They will be performing some function or other but then stop at seemingly random points. The points that they fail at remain consistent between runs, but can change if I edit the scripts. The weirdest thing about these failures is that no errors are generated in the console. Some errors are logged, but that only occurs if some bit of code run afterwards was dependent on something that was not done when a previous function ended abruptly. I have no idea what could be causing something like this, I haven’t even been able to come up with a google search that is remotely helpful. Reverting to 3.5 makes the issues go away, but seeing as 3.5 is depreciated I don’t know how long my plugins will continue to support it.

I don’t know if my dependencies are part of the issue. Currently I am using Firebase Analytics, Auth, Crashlytics, Database and Remote Config, as well as the Facebook SDK. My goal is to be able to use the new Apple Sign In asset bundle, to comply with the App Store. This bundle seems to require system.collections.concurrent which is only present .net 4.0.

Answer found: firebase - Unity scripts failing silently .net 3.5 to .net 4.0 - Stack Overflow