Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in [Package]
1.0.0-preview.14
Issue ID
1320552
Regression
No
ValueChangeCallback gets invoked when the CreateInspectorGUI takes ~50ms or more to finish
Reproduction steps:
1. Open user's project "UI Toolkit Bug Repro.zip"
2. Open Window/Package Manager and make sure that the UI Toolkit package (com.unity.ui) is installed
3. Open "SampleScene" Scene and click on "GameObject" in the Hierarchy window
4. Wait for "GameObject" to appear in the Inspector window
5. Look at the console
Expected result: ValueChangeCallback doesn't get invoked if the CreateInspectorGUI takes ~50ms or more to finish and the message doesn't get printed out
Actual result: ValueChangeCallback gets invoked if the CreateInspectorGUI takes ~50ms or more to finish and the message: "The event was invoked!" gets printed out
Reproducible with: UI Toolkit 1.0.0-preview.11 (2020.2.0f1), 1.0.0-preview.14 (2020.3.2f1, 2021.1.1f1), without package (2021.2.0a10)
Couldn't test with 2018.4, 2019.4 (because UI Toolkit is not available)
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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Resolution Note:
This issue is valid, and as such we don't want to close it directly. However, changing this behavior is not trivial and will need some deep refactoring around event dispatching and data binding in the editor.