Null error for textComp

The thread above asking about a null error doesn’t look to have an answer. This issue is due to GetComponent being used instead of GetCompnentInChildren. This needs to be used as the TextMeshPro is a child of the button.

2 Likes

Privacy & Terms