How to reproduce:
1. Open the attached “IN-131168” project
2. Open the “Runner” scene (Assets / test / Scenes)
3. Enter Play mode
4. Click the “On”/“Off” buttons to enable/disable SSAO
5. Notice SSAO is being toggled and no other changes occur
6. Exit Play mode
7. Build and run the project
8. Repeat step 5 in the Player
9. Observe the scene in the Player
Actual result: Depending on the Graphics API used: shadows disappear, textures are not applied, only UI is rendered
Expected result: SSAO is being toggled accordingly with no other changes to the scene, the same as in the Editor
Reproducible on: 6000.3.7f1, 6000.4.0b7, 6000.5.0a6
Couldn’t test with: 6000.0.67f1 (“URP asset is not last version” error)
Reproducible with: Windows 11, macOS 26.2 (M1 Pro), iOS, Android
Notes:
- Depending on the Graphics API used the results vary drastically
- Does not reproduce in the Editor
- Replacing URP assets with identical copies fixes the issue