How to reproduce:
1. Open the user-attached “YouHaveToBeKiddingMeBro.zip” project
2. Enter Play Mode
Expected result: “Added the correct type” is printed
Actual result: “Added the wrong type” is printed
Reproducible with: 2020.3.36f1, 2021.3.6f1, 2022.1.9f1, 2022.2.0b1, 2023.1.0a3
Reproduced on: macOS Monterey 12.0.1
Note:
- If “Enter Play Mode Options” is turned off the issue is not reproducible (Edit → Project Settings → Editor)
- If “Reload Domain” is turned on the issue is not reproducible (Edit → Project Settings → Editor)
- If the issue is not reproducing, re-opening the project forces the issue to reproduce once again
- Reimporting or making any change to the script fixes the issue unless you re-open the project
- Reproducible on a new project