I have used this code in another app that works fine, and I've tested this in a stand-alone script as well, which also fails. The code is:
GetComponent(tk2dTextMesh).text = "2";
GetComponent(tk2dTextMesh).Commit();
The error, in unity without playing, is:
Assets/Scripts/createGameSelections.js(66,46): BCE0005: Unknown identifier: 'tk2dTextMesh'.
I'm not sure what to do about this, since it should work, right?