I tried 2 hours to change my text just to see that unity basically thinks TextMeshPro doesn’t exist
here is the script
Text ScoreText = GameObject.Find(“Canvas/ScoreText”).GetComponent(); - This detects
ScoreText.text = “Test”; - [Always an error in console log , shows no error when save it]
i tested transform component and worked
but for some reason text component doesn’t work and always i get a Null when i do Debug.Log(“”)
The error is always Object reference not set an instant of an object
There is a fix ? Because i looked at like over 20 forums and i get same error no matter what i do.