Jump to content

Asset links broken after git fast-import migration to Plastic SCM


Guest Soren

Recommended Posts

Guest Soren

I'm excited to give Plastic SCM a go. I did a fast-export of my Unity project's Git repo and then did a fast-import into a fresh Plastic repo. But after opening the project in Unity and re-importing all the assets, the GUID links within are all broken and I see missing scripts everywhere. Has anyone else had this issue?

I also notice Plastic is treating my .asset and .meta files as binary even though both are serialized as text files. How do I fix this for hundreds of .meta files?

Thanks!

Link to comment
Share on other sites

  • 2 months later...

Hello,

you can change filetypes by using the Plastic GUI and the Plastic CLI.

GUI

Right click the item, Change revision type... Binary / Text

CLI

Use the "cm changerevisiontype"

Additionally you can use the "filetypes.conf" file the next time you import from Git in order to avoid this problem: http://blog.plasticscm.com/2008/03/custom-file-types.html

Regarding the GUIDs issue, can you check if all the Git workspaces content is fully submitted to the Git repository? If everything is fine at the Git side there must be an issue in the fast-export/import process. I would recommend you to use the "cm sync" command or the GitSync GUI feature: https://www.plasticscm.com/documentation/gitsync/plastic-scm-version-control-gitsync-guide.shtml

Fast-export is missing some of the features of GitSync, I recommend you to use it instead of the fast-export/import mechanism.

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...