Thank you both for your answers.
@kyonides Here is the demo. It works perfectly fine in the demo. Is when I put it in my game that gives me that error. Currently trying to pin which script could be making that error. But it doesnt seem like is one?
@Andar For playtesting I dont use savefiles, but always a new start. Even so, deleted all savefiles and still same error. Also, thanks for the link! Good lecture. So far, I think Im not commiting one mistake from there, so thats good.
As far as I know, this is a copy/paste script, unless I missed a step?
Edit: Just in case, I forgot to mention: Im using Tankentai sideview battle system.
Edit 2: Is amazing how I keep making findings right after posting stuff.
Explanation: A script I found ages ago while looking for a way to play the trailer of the game inside the game is making this error.
So, now the question: Is there a way to make them both behave or do I need to choose? Edited the demo to have both scripts and it produces the same error instantly.