I have solved this problem, this is very painful because when this happens, motivation is lost and the project can go to hell.
The solution if this happens to you is the following.
Remove the entity that has the script hooked up that shows the error, then put it back in and assign the script again and the problem is solved.