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
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
- Memory related fields in the "WebAssembly Language Features" can be set to the negative numbers
- "WebAssembly Language Features" Header in the Player Settings has a smaller indentation
Lincon Cezar
Feb 20, 2016 00:47
esse metodo não funciona em minha unity3d v5.3.2f1