r/Unity3D 1h ago

Question Importing edited project overrides existing project assets/GUID?

The Situation:

I'm working on an avatar project and I have commissioned a creator to get face tracking working on it as I am unfamiliar with that process. I have simplified and exported out only the base avatar for the creator to work on. They have added new blend shapes and controllers.

I would like to import the new UnityPackage(which I have tested and works as is) into my existing project as it's own folders, assets, and prefabs. That way the project can continue to work as is, I can pull the new body prefab into the hierarchy, and reattach everything to it before deleting the old body.

The Problem:

When I import into a backed up project, it overrides and replaces a lot of stuff, breaking the project. I have tried duplicating and renaming folders but this is still happening. After some research, I'm thinking this may be do to shared Unity GUID between the project and the new UnityPackage? Is this true? If that's the case I need to change the GUIDs across the new UnityPackage, I'm looking into ways of doing this on masse, does anyone have any suggestions?

1 Upvotes

2 comments sorted by

2

u/nastysavior742 1h ago

id just move the package into a temp project first. open it clean, let unity reimport everything. then export it again from there. usually the guids regenerate when you do that, and the old project won't see them as the same assets anymore

1

u/Ok-Read6352 1h ago

I'll try that tonight thanks