rojo-rbx / rojo

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

Rojo crashes when stopping play session. #654

Closed ReelPlum closed 1 year ago

ReelPlum commented 1 year ago

This is the Error I get in Visual Studio code:

Visit http://localhost:34872/ in your browser for more information.
[ERROR rojo] Rojo crashed!
[ERROR rojo] This is probably a Rojo bug.
[ERROR rojo] 
[ERROR rojo] Please consider filing an issue: https://github.com/rojo-rbx/rojo/issues
[ERROR rojo] 
[ERROR rojo] Details: called `Result::unwrap()` on an `Err` value: Os { code: 5, kind: PermissionDenied, message: "Access is denied." }
[ERROR rojo] in file src\change_processor.rs on line 226
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

And In studio:

  17:03:14.313  Unhandled promise rejection:

Unknown HTTP error: HttpError: NetFail

user_RojoManagedPlugin.rbxm.Rojo.Promise:81 function new
user_RojoManagedPlugin.rbxm.Rojo.Promise:166 function andThen
user_RojoManagedPlugin.rbxm.Rojo.Plugin.ApiContext:195 function write
user_RojoManagedPlugin.rbxm.Rojo.Plugin.ServeSession:68 function onChangesFlushed
user_RojoManagedPlugin.rbxm.Rojo.Plugin.ChangeBatcher:60 function __cycle
user_RojoManagedPlugin.rbxm.Rojo.Plugin.ChangeBatcher:21
  -  Edit
  17:03:16.515  [Rojo-Warn] Disconnected from an error: Couldn't connect to the Rojo server.
[Rojo-Warn] Make sure the server is running — use 'rojo serve' to run it!  -  Edit

I'm using Rojo version 7.2.1. Roblox Studio plugin is installed by the visual studio code extension.

LPGhatguy commented 1 year ago

It looks like you have two-way sync enabled, which is still unsupported and experimental. For now, the best course of action is to turn that off from the Roblox Studio plugin settings.