#Null Instance on UI

1 messages · Page 1 of 1 (latest)

formal helm
#

I keep getting null instance on my UI and I'm not sure why.
I can provide more screenshots if needed.
It had originally worked just fine but after changing a few things around (sorry I don't really remember) it kept crashing.
The only differences I can compare from the start is that I saved it as a tscn and the panel has a script.
Also, I had another canvas layer earlier for UI Hearts that I deleted but that did not mess with the original code.

fervent ore
formal helm
formal helm
#

I just don't know why it can't find the path

fervent ore
#

Oh, scene unique names only work if the node with the script on it and the target are in the same scene file. You can't get them from everywhere

formal helm
#

OMG u r so rite

formal helm
# fervent ore <@633784385908244490>

the reason why I made it a subtscn was because the ui panel would lag A BUNCH and i didn't know if it was a probem with my code or a problem with my computer 😭 I'm gonna guess it's just my computer...