rojo-rbx / rojo

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

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

Open skwog opened 1 month ago

skwog commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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

Attempt to define $path for both StarterPlayer and StarterPlayerScripts