Some VRC & TMP generic GetComponent are not defined in T Dictionary
tracked
BobyStar
There are some VRC Components and TMP Components that don't have specified generic T types in an internal dictionary preventing the usage of
GetComponent<TMP_InputField>()
.For those reading this and needing an alternative in UdonSharp you can use the other two:
GetComponent("TMP_InputField")
or GetComponent(nameof(TMP_InputField))
and GetComponent(typeof(TMP_InputField))
.UdonGraph variants of this issue are shown in the provided images.
Log In