Search Issue Tracker
Duplicate
Votes
0
Found in
2018.4
2019.4
2020.1
2020.2
2021.1
2021.1.0b1
Issue ID
1301948
Regression
Yes
[Performance] Adjusting the custom nodes and Regenerating Units is slower with Script Graph window open
Reproduction steps:
1. Open the user's attached project "VisualScripting.zip"
2. In the Project window open Assets/Scenes/SampleScene
3. Go to Edit/Project Settings, select Regenerate Units and observe how much time it takes to finish
4. In the Assets folder select "New Script Graph" asset and in the Inspector window select Edit Graph
5. In the Project Settings select Regenerate Units
Expected result: Regenerating Units with an open Script Graph window takes the same amount of time as with a closed Script Graph window
Actual result: Regenerating Units with an open Script Graph window takes more time than with a closed Script Graph window
Reproducible with: 1.4.13 (2018.4.30f1, 2019.4.17f1, 2020.1.17f1, 2020.2.1f1), 1.5.1 (2021.1.0b1)
Notes:
- Whenever custom nodes are adjusted, rebuilding the type graph via Regenerate Units takes longer when a Script Graph window is open. The issue reproduces inconsistently and depends if the nodes were adjusted before
- The issue will reproduce when the project is opened for the first time, however, the issue might not reproduce when constantly adjusting the nodes
- The issue is reproducible with an open State Graph as well
- The user noted that it takes approximately 45 seconds to Regenerate Units with an open Script Graph window and approximately 15 seconds with the Script Graph window closed
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][Vulkan] Crash on /system/lib/libandroid.so (ANativeWindow_setBuffersGeometry+4) when the Vulkan Graphics API is used
- Event handlers are preventing operations when trying to copy or paste HTML text in the WebGL Player
- [macOS] Crash on __pthread_kill when Exporting a Package while another export is in progress
- Crash on TransformAccessDestroyCallback when removing a URP Decal Projector component from a parent GameObject that had a URP Decal Projector child GameObject
- An added component is being removed form the prefab when reimporting the prefab
Add comment