Suddenly, the game starts running terribly. There are only two objects in the scene, and the Visual Script isn’t long or complex. This is the second time it’s happened; the last time, I had to recreate the player object.
This scene is new, and it’s still happening, so I’m guessing the problem is with the GameObject or something I’ve done to it, but I don’t know what.
Hi, after disabling the state tracker, it stopped malfunctioning. The question is why it affected performance because I find it quite useful . It would be great if you implemented something like the debug windows that PGM has, so we could have them floating there and see the variables, switches, and action states—something like your debugger plugin but integrated and with all those features.
This could have been my bad. I made some performance tweaks so there is proper caching on the state tracker script. I uploaded a new version to download and I’ll upload the script here for your convivence. Try it and see if the performance is better.