The current thread cannot access 'CorePackages' (lacking capability RobloxScript)

Hi,
I just published a new version of my game, which contained just minor bug fixes.
All of a sudden every single client is getting one of the below errors and is stuck on the loading screen:


I am not using CorePackages stuff anywhere and I’ve never heard of that event.
I do use SetCoreGui, but I tried removing that, with no luck.

I’ve seen a different thread discuss this issue, but they all mentioned their games run just fine.
How can I repair this issue?

Been pressing buttons left and right, with no fix on the horizon

1 Like

Solved! I had moved the client module scripts which are loaded by my PlayerScriptsInitClient localscript from StarterPlayer.StarterPlayerScripts.Scripts to StarterPlayer.StarterPlayerScripts without thinking twice about it. Thought it looked better structure-wise.
Turned out this made PlayerScriptsInitClient perform a require() on internal roblox scripts.
Hope this helps anyone in the future!

2 Likes