Performance problem with UpdateGraphs

hello, I use GraphUpdateScene to modify terrain gragh in runtime. Each Building in the map has one scripts attached.
When the building is destroyed, I will call Apply() method in GraphUpdateScene. While it may make the whole Unity project dead. Which means you can’t do anything in Unity editor,and the unity programe is hung. At this time, the only thing you can do is kill the process of unity in task manager window.
I have tried to omit the apply method or <AstarPath.active.UpdateGraphs(guo);> in apply method,everything goes well.
So I wanna know is there any effecient way to update partial graph?

Hi

That sounds odd. What graph are you using?