We were getting the strange getRequiredLevel is not a function error while creating a new record (in New Form Rendering)
After debugging, we figured out that it was failing for the following field “mapcontrollink”.
We commented out the entire section and imported it back (unsupported). This fixed the issue.
Strangely enough we couldn’t find that field in the Vanilla version, in our case it is the upgraded environment so that could be reason of having that extra field.
Hope it helps..