W000: Unknown Require (it's definitely there!)

Any idea why this error has started to occur? The modulescript in question is at that location. It can even been seen in the autocomplete.

MSNOTFOUND

It was working when I went to bed last night! Woke up this morning… this.

3 Likes

When you execute the code does it actually work? A few updates were made just a few hours ago, it’s in #updates.

Might want to make a bug report about it.

There’s probably something else in your code that’s causing the error.

For example, did you add an extra symbol “)” somewhere in your code? Did you accidently already reference ITEMFACTORY somewhere in your script? etc.

I don’t think that’s the case, as that’s at the beginning of the script. Also I have this error too, and there are NO other errors within the script.

This started happening to me as well, some time in the past two weeks. I booted up my project today and discovered over 1000 ‘Unknown requires’. Turning off the new script analysis turned off the warning.

3 Likes

Getting this error. Do you happen to have the Beta Feature ‘New Lua Script Analysis’ on? I have it, and I believe that’s why it’s doing that. The code should still work thou.

2 Likes

It’s a bug. In Infinite Autocorrect, I see tons of code like this; it’s the new Lua VM and LuaU beta updates, as well as new Lua Script Analysis, so be patient.

2 Likes

Also seeing this bug.

Confirmed it goes away when I turn off ‘New Lua Script Analysis’

8 Likes