Reproduction steps:
1. Open the attached project “WeavingErrors”
2. Build and run (File > Build And Run)
3. In the Player Click on “Host (Server + Client)” button
4. Observe the Player
Expected result: The server and client is hosted without any errors
Actual result: Weaving errors are generated
Reproducible with: 2022.1.0a4, 2022.3.2f1, 2023.1.0f1, 2023.2.0a18
Not reproducible with: 2021.3.27f1, 2022.1.0a1
Couldn't test with: 2022.1.0a2, 2022.1.0a3 (D:/Unity' is not recognized as an internal or external command)
Reproducible on: Windows 10