Reproduction steps:
1. Open the attached “Repro“ project in Safe Mode (press the “Enter Safe Mode“ on the pop-up)
2. Observe the Console window
Expected result: Only the “error CS0117: 'Debug' does not contain a definition for 'Lo'“ error is present
Actual result: “Unloading broken assembly Library/ScriptAssemblies/Unity.Rider.Editor.dll, this assembly can cause crashes in the runtime“ error appears in addition to the Script error
Reproducible with: 3.0.25, 3.0.26 (2021.3.32f1, 2022.3.14f1, 2023.2.1f1, 2023.3.0a15)
Not reproducible with: 2.0.7, 3.0.24 (2021.3.32f1, 2023.3.0a15)
Reproducible on: Windows 10 Pro (22H2), M1 MacOs 14.0
Not reproducible on: No other environment tested