I’am getting this weird error in the output, and I don’t understand what’s causing it:
.
thats no error, thats info about where the error is occurring. I’m assuming this is in game and a published place so to view errors occurring during run time you can check the game page in dev hub.
It was happening in studio, however the game is published, also it doesn’t give information about what the error is about/what’s causing it. The line that’s it happening is just calling itself self:setup() is what it’s’ calling.
Try see if you get the error in the console/output if you try playing it in Roblox but not in studio
It doens’t always happen, I tried again in studio and it didn’t happen
Alright, I think it might be a studio bug that is why I am suggesting try to see if you get the error in the Roblox client
Thats the stack trace, it seems weird that Roblox isn’t trimming the trace here? If Setup
is calling itself multiple times, thats a stack overflow.
function Setup()
return Setup() -- Stack overflow!!
end
If you want more info on stack overflows, this wikipedia page might help. Not showing the error itself isn’t very useful here for diagnosing for whats actually happening.
What I may suggest is wrapping your Setup
function in a pcall, so you can capture the actual error without it spamming your console with the stack trace.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.