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
- The Editor crashes when Generating Font Atlas in the Font Asset Creator with “9999999999” padding and 256x256 Atlas Resolution
- [iOS] An “ArgumentNullException” error is thrown when GetIntroductoryPriceDictionary() method is called
- Memory leak warnings are constantly thrown when Generating Font Atlas in Font Asset Creator with 4096x8192 Atlas Resolution
- “Glyph rendering has been aborted due to sampling point size” Log is printed and Font Atlas is not generated when Atlas Resolution is 8192x8192, and the Render Mode is SDF
- Font Import Settings documentation page is missing when the documentation button is pressed in the Inspector window
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.