I've been having a problem where debug mode is giving me different behavior than a normal run on a project I'm working on. I believe I've tracked the issue down to the GetFolderCount command. To make sure, I created a new bare-bones project and added 3 folders to the media folder. Running the following code normally results in "3", while running it in debug mode results in "1". Debug mode returns 1 no matter how many folders are in the media folder.
do
Print(GetFolderCount())
Sync()
loop
This is on Windows 10, AppGameKit Version 2019.02.18