While adjusting the puzzle, we encountered some strange behavior, and upon investigation, we discovered that a script called SimpleBehavior was causing the problem. This script is used to perform simple repetitive movements and we had been using it before.
There are issues with certain settings, but since it was created quite a while ago, a simple investigation wasn’t enough to fix it.
So, for the first time, we decided to ask an AI to fix the code. We used Gemini3’s Pro mode, and explained the basic behavior, attached the source code, and waited for a while. It successfully pointed out the bug and suggested a fix. It was in a section where we had previously added functionality, and the sequence was broken.
The bug was successfully removed with the proposed fix.