Add() function running twice

Hello! I’m encountering an issue where the logic inside my add function is running twice. Initially, I tried creating two GameManager objects (GameManager1, GameManager2). You can refer to the attached image.


Here is my GameManager.js script:
image
I expect the console output to print 2 lines for each GameManager object, but instead, it’s printing 4 lines. I have no idea where the extra 2 lines are coming from.

Hi @Phuc_Thai, thanks for the report! Do you happen to have Live Sync enabled? This feature is in an early preview, and we suspect this bug may be related - the team is working on resolving.

1 Like

Thanks for your support. This issue was resolved when I turned off Live Sync

1 Like

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.