Editor Crash:: if (GetNumber() == NAME_NO_NUMBER_INTERNAL)

but this generate items function is calling more 4 functions, I have to look in them if they have something related to the error.
the most terrifying thing is everything was working fine, I restarted the computer and now these errors
didn’t modified the code.