Search Issue Tracker
By Design
Votes
1
Found in
2019.4
2020.3
2021.2
2021.2.0b6
2022.1
Issue ID
1356221
Regression
No
Editor is lagging when selecting GameObject with event handling class
How to reproduce:
1. Open the user's attached project
2. Open scene Assets/KatalystTemplate/Core/Core
3. Select the GameObject "PF_DebugMenu" under Core in the Hierarchy window
Expected result: Editor runs smoothly
Actual result: Editor starts to lag when the GameObject is open in the Inspector window
Reproducible with: 2019.4.29f1, 2020.3.16f1, 2021.2.0b7, 2022.1.0a5
Could not test with: 2021.1.17f1 (script could not be loaded after project downgrade)
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
When running the project, the serialization system displays the following warning:
"Serialization depth limit 10 exceeded at 'Katalyst.DebugTools.DebugMenu::DebugMenuElement._parent'. There may be an object composition cycle in one or more of your serialized classes.
Serialization hierarchy:
11: Katalyst.DebugTools.DebugMenu::DebugMenuElement._parent
"
Fixing the user code to remove the infinite cycle fixes the problematic behaviour:
In the DebugMenuElement class, user needs to add the [NonSerialized] attribute to the _parent field.