npc:MoveToPosition(npc:GetPosition(),callback) [solved]

Describe the bug:
When using npc:MoveToPosition(position, callback) with a position that is close enough for the npc, the callback will never fire.

How do you cause this bug?

  • List the steps
  1. Add self:GetEntity():MoveToPosition(self:GetEntity():GetPosition(),function(success) print(success) end) to the Init function of a script attached to an NPC.
  2. Preview the game.
  3. The callback never fires (so no print)

Which platform: PC

Your Crayta username: Daigoro

How regularly do you see this? (E.g. 2/3 times - please try 3 times if possible):
100%

tbc

Hey there @Ya_shi_shi!

Interesting find ! I have opened up a ticket for our internal team to investigate this issue. :slight_smile:
Thank you for bringing this to our attention.

Seems fixed

1 Like