Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 #747

Open
Dizyreal opened this issue Aug 19, 2024 · 1 comment
Labels
enhancement New feature or request plugin Related to Roblox Studio Plugin

Comments

@Dizyreal
Copy link

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
image

However in the Roblox game this directory exists and game works perfectly with no errors
image

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:
image

Module actually exists:
image

@JohnnyMorganz
Copy link
Owner

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 JohnnyMorganz added enhancement New feature or request plugin Related to Roblox Studio Plugin labels Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request plugin Related to Roblox Studio Plugin
Projects
None yet
Development

No branches or pull requests

2 participants