@MAB-Tech There is too little information to assume anything.
Please answer the question, or better yet, attach the project that is causing the problem to the forum's private messages.
Why the script runs ok in Record mode only?
-
@givirus its because of your script logic, maybe you dont call the function? OR you dont have proper error handling which results into certain parts of your script being skipped since they are inside an if statement. I encountered this problem many times in the past, you will need to handle errors and it'll will be most likely fixed, for the purpose of debugging you can use the "Log" function at several points to see where it will print it.