rojo-rbx / rojo

Rojo enables Roblox developers to use professional-grade software engineering tools
https://rojo.space
Mozilla Public License 2.0
970 stars 182 forks source link

Rojo marking scripts as "Unknown Instance" when syncing #512

Open madeinjei opened 2 years ago

madeinjei commented 2 years ago

Error Returned From Roblox: image

Script In Question: image

madeinjei commented 2 years ago

Is there any way this could be my own issue and if so is there a way i can fix it myself

GHXX commented 2 years ago

I am also experiencing this issue. Is there anything i can do to help with tracking down the exact problem? Or are there even some steps i can do to resolve this issue myself?

LPGhatguy commented 2 years ago

Hello, thank you for filing an issue. I think there are two problems here.

The first issue is with the diagnostic that Rojo is giving you. The instance should not be marked as an unknown instance. This is hopefully just a cosmetic issue, but hints at a potential bug in the plugin's internal instance tracking.

The second issue is that Rojo is not giving you details about why it couldn't update Source. There are currently two known reasons why Source can fail to update:

If you run into this issue, I would recommend looking for any very large scripts in your game. They are likely the cause, and I recommend splitting them into multiple modules not just for Rojo, but for general readability and performance.