I've been having this error all day today and I'm not sure what it is. The output says "require(assetId) cannot be called from a client" I have no idea what this means! I tried working around it because it doesn't seem to be causing any problems, but I don't understand how to remove it.
I do not know what script this is coming from.
When I click on it, it doesn't direct me anywhere.
Has anybody else received this problem lately? Or knows how to solve it?
You cannot require an assst through the clisnt as it does not have access to the server api services
You can see a list of hotkeys here and here.
To find a specific string of text in all of your scripts in the place you are in, press Ctrl
+Shift
+F
. Type what you want to find in the textbox (it is not case sensitive).
Press Ctrl
+Shift
+F
, type require(
and you want to find a LocalScript
with require(NUMBERS)
. If the script is a script you coded, you should fix it asap. If the script is a script from a free model or just not your script and your game is working perfectly fine with the error, ignore it.
You want to make sure output is visible. Click on the error in the output next time it comes up to view the source of the error. It will take you to the exact line of code where the error occurs. Again, if the script is a script you need, fix it. If it is someone else's code or it's something you don't need then ignore it.
Hope it helps!
It's a plugin error, isn't it? Look something like this?
15:24:52.944 - require(assetId) cannot be called from a client 15:24:52.945 - Stack Begin 15:24:52.945 - Script 'Plugin_439617715.Load Character.Script', Line 1 15:24:52.946 - Stack End