I just loaded an old script I made for RF4 into RF5. In RF4, it works fine, but when I setup the exact same scene in RF5 and then load the script, RF will tell me "Error at line nr 27" everytime I start simulating. Line 27 is entirely empty by the way. It is just to separate a one block of code from another. I tried to make that line a comment or also delete it...does not help. When I offset the entire code +1 or -1 or whatever, the error is still there (but maybe line number changes). I dont understand...I checked other scripts, and some of them work perfectly. but others show the same behavior, they will not work because an error may come up in any line which is, without doubts, empty or correct.
The error message is always related to "None type object has no .... getParameter". Dont understand what is wrong

thanks for reading and have a nice day.