Skip to content

Commit

Permalink
fix(editor): NetworkPrefabProcessor not marking prefab list dirty (#3102
Browse files Browse the repository at this point in the history
)

NetworkPrefabProcessor now marks the default NetworkPrefabsList ScriptableObject asset as dirty if there are new imports OR deletions.

Unity is now aware of the changes and is able to write them to disk.
  • Loading branch information
mbaker3 authored Oct 17, 2024
1 parent 25ec4a5 commit 1532417
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ bool ProcessDeletedAssets(string[] strings)

// Process the imported and deleted assets
var markDirty = ProcessImportedAssets(importedAssets);
markDirty &= ProcessDeletedAssets(deletedAssets);
markDirty |= ProcessDeletedAssets(deletedAssets);

if (markDirty)
{
Expand Down

0 comments on commit 1532417

Please sign in to comment.