Search Issue Tracker
Fixed in 5.5.0
Votes
5
Found in
5.4.0b1
Issue ID
757816
Regression
No
[Editor][ClearBakedData] Clearing baked data at certain lighting calculation stages causes uninformative errors in the console
Steps to reproduce:
1. Open Unity;
2. Open attached project and 'Untitled.unity' scene;
3. Open Lighting tab in the Inspector;
4. Press Build button to start building baked lightmap;
5. Press Cancel button at 'Visibility' calculation stage to stop baking lightmap;
6. Press arrow button on the right side of Build button to open the dropdown list;
7. Press 'Clear Baked Data';
8. Notice that uninformative m_SystemData.empty()
UnityEditor.GenericMenu:CatchMenu(Object, String[], Int32)
has been thrown in the console (see attached actualVisibilityCalculation.png screenshot).
9. Press Build again;
10. Press Cancel button at 'Light Transport' calculation stage to stop baking lightmap;
11. Repeat steps 6 and 7;
12. Notice that uninformative m_PendingRadiositySystemHashes.empty()
UnityEditor.GenericMenu:CatchMenu(Object, String[], Int32)
has been thrown in the console along with the previous error (see attached actualLighttransportCalculation.png screenshot) .
Also see attached gif video.
Expected result:
Uninformative errors should not be displayed when terminating Lighting process and clearing lightmapping data at each stage of lightmap calculation.
Notes:
- Reproduces in 5.4.0b1, 5.4.0a6, 5.3.1p1, 5.2.2p4.
- Reproduces on both Windows 10 and OSX 10.11.2;
- This issue gets mostly annoying when lightmapping scenes with huge gameobjects (like, for instance, terrain);
- This issue doesn't seem to affect lightmapped scene rendering.
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
Lincon Cezar
Feb 20, 2016 00:47
esse metodo não funciona em minha unity3d v5.3.2f1