I don’t know after what it happened, but on the event sheet it shows that the values of param1 and param2 = touch.x and touch.y. But when I open them, it shows zeros. And such a function working in the parameters exactly zeros. After rewriting, everything became normal again.
My English is bad, so I won't be able to send an error report.