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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.