Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2021.2.0b6
2022.1.0a2
2022.1.0a12
Issue ID
1371023
Regression
Yes
'Should not be capturing when there is a hotcontrol' warning after closing per-renderer's Lightmap preview window
Steps to reproduce:
1. Open the attached "RealtimeGIBugUVCharts" project and 'SampleScene' Scene
2. In the Hierarchy select Cube GameObject
3. In the Inspector double-click on the lightmap thumbnail to open the Lightmap Preview window
4. Maximize Lightmap Preview window and then close it
5. Repeat step 3 and then restore down Lightmap Preview window
6. Close the Lightmap Preview window
Expected result: No warnings or errors are shown in the Console.
Actual result: Warning: - "Should not be capturing when there is a hotcontrol UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)" is shown.
Reproducible with: 2021.2.0b6, 2021.2.0b16, 2022.1.0a2, 2022.1.0a15
Not reproducible with: 2019.4.31f1, 2020.3.20f1, 2021.1.25f1, 2021.2.0b5, 2022.1.0a1
Notes:
- Reproducible on Windows
- Not reproducible on MAC
- Only reproduces when double-clicking on the lightmap thumbnail
- Reproducible when opening per-renderer's Realtime Lightmap preview window through both the Inspector window and the Lighting Window
- Reproducible when previewing both Realtime Lightmaps and Baked Lightmaps
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
Add comment