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

Parent and Child Folder: Cannot add an instance from a patch that has no parent. #938

Open
skwog opened this issue Jul 10, 2024 · 3 comments
Labels
scope: plugin Relevant to the Roblox Studio plugin status: needs info We need more info to act on this. type: bug Something happens that shouldn't happen

Comments

@skwog
Copy link

skwog commented Jul 10, 2024

Attempt to define "$path": for each of src/StarterPlayer and src/StarterPlayer/StartPlayerScripts in default.projects.json

--

user_RojoManagedPlugin. rbxm.Rojo.Plugin.Reconciler.applyPatch:55: Rojo detected an
invariant violation within itself:
Cannot add an instance from a patch that has no parent.
Instance 08dd0872d29742a240df1dbab1f3b212 with parent
State: InstanceMap {
8bc9633f0e905021aeb1dfe440c7f361: HttpService (HttpService)
5c72329beaab2c0dcdb8f166652826dd: Lighting (Lighting)
0514947753c0da7229ce75c3f36c6d5: ReplicatedStorage (ReplicatedStorage)
d7850fe9c523868eb2c755928979d6cc: ServerScriptService (ServerScriptService) a8f396a27ac65e5c0ead9c40dc37ad4: ServerScriptService. TerrainGenerator
(ModuleScript)
184e303a8bad4eb695cdb56f8184bfa7: ServerScriptService.test (Script)
99b7a83f8580078d5ab2f04c70fa606: ServerScriptService. testterrain (Script)
fale7caeb17e99362271f17686de6faa: SoundService (SoundService)
5a1c24995f269e78581039ea91ed07d: StarterPlayer (StarterPlayer) d44bee681 ce62695e10caf6c40f7028: StarterPlayer. StarterPlayerScripts
(StarterPlayerScripts)
9fbaf071cffaald69ce45dbebf5c37f3: Workspace (Workspace)
8855298dcbecd7c7cd00c6e9ef16492: Workspace. Baseplate (Part)
7ecbf821f382558b74237efa77e100ed: rojo-template.rbxl (DataModel)
This is a bug in Rojo. Please file an issue:
https://github.com/rojo-rbx/rojo/issues

@Dekkonot Dekkonot added type: bug Something happens that shouldn't happen scope: plugin Relevant to the Roblox Studio plugin status: needs info We need more info to act on this. labels Jul 10, 2024
@Dekkonot
Copy link
Member

Howdy.

Just to clarify, are you running Rojo 7.4.1 for both your Roblox Studio plugin and the CLI tool?

Also, what's the layout of your project look like? I'd like to replicate this on my end.

@skwog
Copy link
Author

skwog commented Jul 11, 2024

VS Code extension update 2024-07-10 following Rojo docs installation instructions being used to install and manage Rojo and Studio plugin. Did not manually installed CLI and have not manually used the CLI.

More Info
Published
2018-04-18, 02:28:51
Last released
2022-08-25, 17:15:41
Last updated
2024-07-10, 19:57:18
Identifier
evaera.vscode-rojo

@skwog
Copy link
Author

skwog commented Jul 11, 2024

Version of default.project.json that generated this error is attached here.
default.project.json

Attempt to define $path for both StarterPlayer and StarterPlayerScripts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: plugin Relevant to the Roblox Studio plugin status: needs info We need more info to act on this. type: bug Something happens that shouldn't happen
Projects
None yet
Development

No branches or pull requests

2 participants