Internal Error Message "exception while signaling: Must be a LuaSourceContainer”"

I am getting the “exception while signaling: Must be a LuaSourceContainer” error for cloning an object. I did some tests and apparently it is triggered at the line I clone the object again.
here: local new = a:clone()

local a = script.Parent.Parent:FindFirstChild("2Cart"):clone()
local deb = false
local rides = workspace:WaitForChild("Rides")
function chng()
	if deb == true then return end
	deb = true
	local new = a:clone()
	new.Parent = rides
	new:MakeJoints()
	--for i,v in pairs(new:GetDescendants()) do
	--	if v:IsA("BasePart") then
	--		v:SetNetworkOwner(nil)
	--	end
	--end
	script.Parent.BrickColor = BrickColor.new(21)
	wait(6)
	script.Parent.BrickColor = BrickColor.new(28)
	deb = false
end

script.Parent.Click.MouseClick:Connect(chng)

2 Likes

I get similar issues in my game, it’s weirdly inconsistent though.

What triggeres this error message for you?

Bumping this as it still happens.

its related to your cart script but it doesnt cause any issues in my experience

This is just an acknowledgment announcement!

We’ve filed a ticket into our internal database for this issue, and we will update you when we have further information!

Thanks for the report!

1 Like

Hi @MuffinHandler,

Since you filed a second ticket on this with better info, I’ll close this one.

The fix for this should be released soon.