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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
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.