simplepath
simplepath copied to clipboard
Error if path destroyed before `:ComputeAsync()` finishes
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.