You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you try to require some module which is not created in your project directory, but it actually exists in your game place, then you will get Unknown require error.
This error appears when there is no Stats.Ranks directory in the project
However in the Roblox game this directory exists and game works perfectly with no errors
Also this problem persists if you try to require module which is a child of some Package in your game. You will get the same error:
Module actually exists:
The text was updated successfully, but these errors were encountered:
I assume you are talking about when using the Studio Companion plugin.
We currently do not support syncing script content across via the Studio Companion plugin, only the instance hierarchy tree. It is a bit more challenging due to the size of the content and having to create virtual files
JohnnyMorganz
changed the title
Instances that exist in the RobloxStudio, but don't exist in the file system are completely ignored by Luau LSP resulting in "Unknown require" TypeError
Sync script contents across the Studio companion plugin
Nov 10, 2024
If you try to require some module which is not created in your project directory, but it actually exists in your game place, then you will get Unknown require error.
This error appears when there is no
Stats.Ranks
directory in the projectHowever in the Roblox game this directory exists and game works perfectly with no errors
Also this problem persists if you try to require module which is a child of some Package in your game. You will get the same error:
Module actually exists:
The text was updated successfully, but these errors were encountered: