rojo-rbx / rojo

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

Two-Way Sync Deletes Changes and Crashes After #933

Open ghost opened 3 months ago

ghost commented 3 months ago

Steps to Reproduce

  1. Enable Two-Way Sync in the Settings image
  2. rojo serve
  3. Change a Roblox Studio script
  4. Click connect

Then your changes will get deleted and it crashes a few seconds later.

[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 229
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.