I run a flight sim game for a specific group, using gate studios. Right now a bug just blatantly popped up without warning. I spawn my planes in using cloning from server storage.
This is the extremely simple code that is malfunctioning
Loader = require(3782862658) --Error line
Loader.Load(script.Parent.Parent.MainParts.PilotSeat)
The problem is, I checked the module script, and it’s fine. [GS] Plane Source Code - Roblox <— Owned by rengate.
The only error I get is:
Downloading asset failed for asset id 3782862658. Is the asset id correct and is the asset type "Model"?
And yes it’s the correct ID.
Any help would be greatly appreciated.
Note: It worked completely fine 1 hour ago.
I tried to require the same id and got no error, kind of weird. Maybe try wrapping it in a pcall and if the pcall returns an error then retry.
Is it possible there could be interference, kind of like ProcessReceipt?
Just wrapped it in a pcall:
local success, errormsg = pcall(function() Loader = require(3782862658)
end) print(success,erromsg)
Got false and nil. I honestly have no clue what’s up with it…
Ran the same code, I get true and nil. Is it possible that something could be interfering with the code? This is really strange.
I think it might be a possibility, lemme test some stuff.
Ok so I just went to a different game, and got your result. I’m going to assume something is interfering with it. I’m gonna try removing some things to see if it works.
Removed a freemodel building, and it’s back to working now. Unsure why it was doing that. Gonna wrap all the requires in pcalls now.
Check if the freemodel building had any scripts inside of it. Just search “script” at the top of your explorer and look inside of the free model and see if anything pops up.
The thing was, I hadn’t even published the game, but people playing still weren’t able to load, even though the building was on my side. It just doesn’t make too much sense.