rojo-rbx / rojo

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

Two-Way Sync Crash #595

Closed HwangJeongIn closed 2 years ago

HwangJeongIn commented 2 years ago

when i edit script from client(roblox studio), crash occurs in a specific case

[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.

image

image

'TestModuleScript', 'TestScript' : when i edit from rojo or roblox studio, they are ok

'Server' : when i edit from roblox studio, changes are not applied on rojo 'TestModuleScript_FolderVer', 'TestScript_FolderVer' : when i edit from roblox studio, crash occurs

LPGhatguy commented 2 years ago

Thank you for the bug report!

Two-way sync is still very early, and this part of the code is likely to be rewritten from scratch. For now, I'm going to close this issue as something we're not planning on fixing directly right now.