[88443-безымянныи2.png|88443]
@pashabica Is it possible that you did not link anything to TextScr in the script component in the editor?
What I mean is in my example I have a public Rigidbody in my script.
Before I linked the public Rigidbody to the player Rigidbody the component for the script looked like this:
And afterwards, it looked like this:
Is it possible your problem is similar?