Syncback imports supported changes from a saved Roblox Studio place or model file into a filesystem-backed Rojo project. It updates existing source files, creates files for new instances, and removes files for deleted instances. Use it to adopt Rojo in an existing game, or to bring Studio-authored content into a Git-managed production.
Syncback is a one-time snapshot import, not continuous two-way sync. Studio produces the snapshot; the filesystem and Git stay the reviewed source of truth.
Set up Syncback
Install the Rojo CLI and pin it for your team with Rokit:
[tools]
rojo = "rojo-rbx/rojo@7.7.1"rokit install
rojo --version
rojo syncback --helpThe CLI runs Syncback on its own. The Rojo Studio plugin helps with the normal live-development loop, but you don't need it to import an already-saved .rbxl or .rbxlx snapshot.
You also need Git and a normal, full rojo build project configuration. Commit or stash unrelated changes before you start.
Scope what Syncback owns
Syncback only walks instances represented by, or descending from, nodes in its project tree. Start with one contained area instead of exposing every service in a production place.
Create a dedicated syncback.project.json next to the folder it maps. For example, this maps a Level model in Workspace to src/Level:
{
"name": "ExampleGame",
"tree": {
"$className": "DataModel",
"Workspace": {
"$className": "Workspace",
"Level": {
"$className": "Model",
"$path": "src/Level"
}
}
},
"syncbackRules": {
"ignoreTrees": [],
"ignorePaths": ["src/Level/Generated/**"],
"ignoreProperties": {
"Instance": ["SerializedOverrides", "ExplorerIconContent"]
},
"syncCurrentCamera": false,
"syncUnscriptable": true,
"ignoreReferents": false
}
}This mapping is a starting point, not a drop-in replacement for your project: names, classes, paths, and folders must match your game. The ignoreProperties entries suppress properties that Studio writes on every instance but your pinned Rojo version doesn't recognize as defaults. Without them, the first import adds a .meta.json beside every script and folder and rewrites every .rbxm. After a Studio or Rojo update, run a dry run against a fresh, unmodified save and add any new properties you see.
Syncback writes property and attribute changes on project-node instances, such as Workspace and Level in the example above, into syncback.project.json, not into your build project. Review this file in every diff, and copy any new $properties or $attributes into default.project.json, or your full build won't include them.
syncbackRules fields
| Field | Purpose |
|---|---|
| ignoreTrees | Instance paths to exclude from extraction and deletion, using / separators without the DataModel root. Matching is a string prefix. |
| ignorePaths | Repository paths, relative to the project file, that Syncback must not write or delete. Supports glob patterns. Paths under .git/ are always protected. |
| ignoreProperties | Map of class name to property names to exclude. Rules follow class inheritance. |
| syncCurrentCamera | Whether to include Workspace.CurrentCamera. false by default when a syncbackRules block is present. |
| syncUnscriptable | Whether to capture properties the Studio plugin can't normally set. true by default. |
| ignoreReferents | Whether to omit instance-reference properties, such as Model.PrimaryPart. false by default. |
See the Rojo project format for the full reference, including fields not covered here.
Keep generated assets, build products, secrets, and unrelated services outside the Syncback scope. Ignore rules aren't a safety net for other roots accidentally added to the project tree. An unknown or misspelled key in syncbackRules makes the project fail to load.
Save a snapshot from Studio
- Open the correct development place, or a local copy, not a live production place.
- Make the intended changes in the scoped model: geometry, arrangement, scripts, properties, attributes, and supported descendants.
- Use File → Save to File As to produce a .rbxl or .rbxlx snapshot. Put it in a temporary snapshots/ directory outside Git, or add that directory to .gitignore. Syncback also accepts .rbxm/.rbxmx, provided the model has exactly one root instance.
- Record which Git commit or branch the place was based on. Don't import an older snapshot over newer filesystem edits.
You don't need a running rojo serve connection for the Syncback command itself.
Preview, apply, and review
Inspect the proposed operation first:
rojo syncback syncback.project.json \
--input snapshots/level-edit.rbxl --dry-run --listExamine every listed path. The list doesn't separate creations from modifications, so use the Git diff after you apply for that. If the list includes unrelated files or large unexpected changes, stop and narrow the project mapping or fix the snapshot.
Then apply it on your disposable branch:
rojo syncback syncback.project.json \
--input snapshots/level-edit.rbxl
git add -A
git status --short
git diff --cached --statStage before diffing: a new instance is an untracked file, and git diff alone doesn't show untracked files. Staging also lets Git pair a reparent or rename, which Syncback otherwise records as a delete plus a create. Review binary .rbxm changes in Studio, since Git can't show a useful diff for them.
Rebuild and verify
Build with your normal, complete project mapping, not the narrower Syncback mapping:
mkdir builds
rojo build default.project.json -o builds/rebuilt.rbxl- Open rebuilt.rbxl in Studio and inspect the imported content, including script behavior and references.
- Run gameplay or automated smoke tests to confirm meshes, unions, and external assets survived the rebuild.
- Save the rebuilt place to a new snapshot and run a second dry run. A clean round trip shows no further changes. Investigate any repeated rewrites.
- Commit only reviewed source and model changes, and merge through a pull request with a reviewer for binary content.
Limitations in Rojo 7.7.1
| Behavior | What happens |
|---|---|
| Binary by default | New instances get text files only for scripts and a short list of other classes. Every new Part, MeshPart, Union, or Model becomes its own .rbxm. Existing file representations are kept. |
| Duplicate sibling names | If an instance has two children with the same name, Syncback writes the whole instance as one .rbxm and deletes its directory, including any scripts that were previously text files. |
| Studio property churn | Studio saves properties newer than the Rojo CLI's bundled reflection database, and Syncback writes them out as non-default values. Add new ones to ignoreProperties as you find them. |
| Stale snapshots | Syncback doesn't compare the snapshot against Git history. Importing an older snapshot silently overwrites newer repository edits. |
| Terrain | Rojo 7.7.1 can't decode VoxelGridAssetContentMap. Keep Terrain outside the Syncback scope, or that data is lost on import. |
| Project-node properties | Changes to instances defined directly in the project file are written into the Syncback project file, not the build project. See Scope what Syncback owns. |
Best practices
Use Syncback as a controlled import stage, owned by one person or a small tools team, with a small mapped root per level or model. Before you apply a snapshot:
- Start from a clean, disposable branch and a known snapshot baseline.
- Review the dry-run output before applying.
- Run a full rojo build and verify the rebuilt place in Studio.
- Avoid unattended Syncback runs against production branches or a snapshot of uncertain age.