Fix setting up prefab objects ids mapping for nested prefabs to link cross-object references correctly

This commit is contained in:
Wojtek Figat
2023-10-16 16:37:44 +02:00
parent 3e7368b1cb
commit 582cf94198
2 changed files with 18 additions and 3 deletions

View File

@@ -100,7 +100,7 @@ public:
/// </remarks>
/// <param name="context">The serialization context.</param>
/// <param name="data">The sync data.</param>
static void SetupPrefabInstances(Context& context, PrefabSyncData& data);
static void SetupPrefabInstances(Context& context, const PrefabSyncData& data);
/// <summary>
/// Synchronizes the new prefab instances by spawning missing objects that were added to prefab but were not saved with scene objects collection.