Skip to content

Commit af8f579

Browse files
committed
Fix analyzer .meta file format in CLI restore (#737)
Add serializedVersion to analyzer .meta files in restoration. This fixes build failures where AssetPostprocessor doesn't work as expected.
1 parent a7c6b49 commit af8f579

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/NuGetForUnity.Cli/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ private static void FixRoslynAnalyzerImportSettings()
113113
guid: {Guid.NewGuid():N}
114114
{labelsForAsset}
115115
PluginImporter:
116+
serializedVersion: 2
116117
platformData:
117118
- first:
118119
: Any

0 commit comments

Comments
 (0)