I am using Humanoid:MoveTo()
to move NPCs, and I have observed that the function does not run as intended on mobile. On mobile, I experience two different scenarios:
a) In order for the function to fully run, the player has to physically be in close proximity to the NPC that is being moved. If the player is too far, the function runs for a second then freezes/pauses until the player is close to the NPC. This behavior is unintentional. Humanoid:MoveTo()
should occur without the player being close to whatever Humanoid is being moved. I experience this scenario when visiting the experience for the first time or when it takes long to load all experience assets.
b) All NPCs that are to be moved are moved but the function is only ran for a second (non-full moving occurs). This behavior is unintentional. Humanoid:MoveTo()
should continue running until the MoveTo() is finished. I experience this scenario when it does not take long for all assets in the experience to load, when all assets have loaded or when all assets are about finished loading.
No error or warning is outputted on the console.
Example of intended behavior (PC):
Example of unintended behavior (Mobile):
Case A:
Case B:
The issue is not device specific. I have successfully reproduced it on different mobile devices.
Place used for repro: ( ✦ ) 2024 İstanbul Rolimpiyatları: 100m Yüzme Yarışması - Roblox
Expected behavior
For the PC behavior to occur on mobile as well.