Jump to content

Unity - Importing a .unitypackage deletes/re-adds instead of changing


PolishRenegade

Recommended Posts

Hello,

 

I've noticed that when you import a Unity package and you already have some of the files of the said package in your project, Plastic will consider those files as new and will essentially delete the old file. You end up with all previous-version files under /deleted and the new files under /added. This is a problem as it makes it impossible to diff with the previous version and break the version continuity. 

 

This can be particularly worrying as all content from the asset store is a .unitypackage, so when you update a plugin, you won't be able to verify the differences / merge. 

 

Thanks

Link to comment
Share on other sites

  • 4 months later...

I don't have the Unity-Plastic Plugin anymore but from memory, here's more info and steps to reproduce;

 

UnityPackage is a .unitypackage file that contain assets. It's just a container for unity to easily import various files in a bundle. 

 

Steps;

- Within Unity menu bar; Assets -> Import Package -> (select any default package)

- Select all, click import

- Modify any of the imported files

- Checkin the imported files into your Plastic repository

- Re-import the same package 

- Notice Plastic's behaviour in not recognizing that its the same files

 

Thanks. 

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...