Search Issue Tracker
Fixed
Fixed in 2021.3.42f1, 2022.3.40f1, 6000.0.12f1, 7000.0.0a7
Votes
0
Found in
2021.3.36f1
2022.3.24f1
2023.2.18f1
6000.0.0b14
7000.0.0a1
Issue ID
UUM-70658
Regression
No
UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
Reproduction steps:
1. Open the “VolumeManagerError.zip” Project
2. Open the “VolumeManagerError” Scene
3. In the Hierarchy window, select the “SeasonManager” GameObject
4. In the Inspector window, click on the “Summer” button under the “SeasonManager” script
5. Enter Play Mode
6. Observe the Console window and the Game view
Expected results: No errors are logged and the “Summer” effect is enabled
Actual results: Multiple errors are logged and both the “Spring” and “Summer” effects are enabled
Reproducible with: 2021.3.36f1, 2022.3.24f1, 2023.2.18f1, 6000.0.0b14
Reproducible on: Windows 10 (by reporter), Windows 11
Not reproducible on: No other environment tested
Workaround: in the {{LightingDebug.cs}} script uncomment lines 17 and 20. (Make the “Forcing Spring” code not run when entering Play Mode)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
- Overlay Canvas are rendered on each split-screen camera when HDR is enabled
- [Android] The Player loses focus when using UnityEngine.Handheld.StartActivityIndicator() with Facebook SDK
- Build fails with "Building Library/Bee/artifacts/MacStandalonePlayerBuildProgram/gahcy/hj9mx3z/951.0 failed with output:..." errors when Scripting Backend is set to IL2CPP
Add comment