As explained in the title, I’m wanting to resolve an error that is appearing whenever I try to play my experience, and causes the loading screen to get stuck indefinitely.
The experience uses a relatively simple loading screen, which is handled by the below logic:
ContentProvider:PreloadAsync(hall:GetDescendants(), function (...)
n += 1
end)
repeat
task.wait()
until
ContentProvider.RequestQueueSize == 0
Normally, after this a short transition is performed and the loading screen is destroyed.
This has always worked, however since today, whenever playing the experience in the Roblox Player (this doesn’t happen in Studio), the console throws the following error (which is not tied to any script):
ContentProvider callback exception: invalid stoll argument
And the loading screen gets stuck indefinitely. Through debugging, I have found that the code never continues past the PreloadAsync()
loop.
I haven’t managed to find any posts about this same error on the forums.
I have attempted debugging the names of all objects that are preloaded, assuming an error would occur on a specific asset, but this did not happen, and instead the preloading stopped at a seemingly random point without any further errors.
I have also attempted temporarily deleting the asset preloaded directly prior to the error being printed, which also did not help.
If anybody has any idea why this error is occuring, or/and how to fix it, any help would be greatly appreciated, thanks!