No, no error. Its just silently crashing. The code after the loop is also not continuing.
Code:
print("amount children: " .. UIParent:GetNumChildren());
local children = { UIParent:GetChildren() };
for key, child in ipairs(children) do
local name = child:GetName() or child:GetDebugName();
if name then
print(key .. ": " .. name);
else
print(key .. ": " .. "Not Named");
end
end
print("done");
So in thise case after child number 223 it is silently erroring out and the done
is never getting printed.