#Knit/Client Studio Issue?
1 messages · Page 1 of 1 (latest)
maybe change it to ipairs(folder:GetChildren()), with my framework, there wont be issues like those, just saying xd
i dont think this is a knit issue
is it possible that somewhere in the controllers is yielding and just waits until it is done yielding?
and thats why it stops the loop
or maybe all the modules arent loaded still
if game:IsLoaded() == false then game.Loaded:Wait() end
yea taht doesnt work either
i think it has something to do with it being in starterplayerscripts
yea
shouldnt, add this above where u require it because there is a chance that the modules arent loaded in yet
if it doesnt work, just keep it either way
i have tried that it still sometimes works sometimes doesnt
even though at every time it sees that there are 4 modules
in the folder
it doesnt even make sense how it sees there are 4 items in that folder yet it loops once or twice lol
put like wait(10) for example above (before requireing knit) to see if it works and if it does, then we know it is loading issue
let me see
i remmber i yieleded 1 second
and it was the same
yea i tried 10 same thing
my only guess is that this is a studio issue?
Did it work?
My only guess is on the line where u require the module replace it with this:
coroutine.wrap(function() require(module) end)()
So if there is yielding, this will prevent it tho it may mess up things if u have way more controllers
If this works, then u just yield in one of the controllers
hmm let me see something
My guess is that you yield somewhere in the controller
And waits until it is done yielding
ok yea im dumb i was doing a dumb yield
in one of the controlelrs
sometimes it was all loading because that controller loads last
thats funny well thank u lol
Np