simplepath icon indicating copy to clipboard operation
simplepath copied to clipboard

Error if path destroyed before `:ComputeAsync()` finishes

Open wrello opened this issue 3 months ago • 0 comments

local p = require(game.ReplicatedStorage.Util.SimplePath).new(workspace.Rig) 
task.spawn(p.Run, p, Vector3.zero) 
p:Destroy()

This will cause an error because while the path is being computed _path becomes nil.

wrello avatar Sep 13 '25 16:09 wrello