From 611d5a86e5652783abde2d8306c6d0e4a99612fc Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Fri, 5 Aug 2022 00:21:46 -0700 Subject: [PATCH] Updated parser json code to use latest sdk (#24) --- Editor/Importer/EcsactImporter.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Editor/Importer/EcsactImporter.cs b/Editor/Importer/EcsactImporter.cs index 8fa8872..a1be477 100644 --- a/Editor/Importer/EcsactImporter.cs +++ b/Editor/Importer/EcsactImporter.cs @@ -24,7 +24,10 @@ public override void OnImportAsset(AssetImportContext ctx) { codegen.StartInfo.CreateNoWindow = true; codegen.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; codegen.EnableRaisingEvents = true; - codegen.StartInfo.Arguments = ctx.assetPath + " --ignore_unknown_imports"; + codegen.StartInfo.Arguments = + ctx.assetPath + + " --ignore_unknown_imports" + + " --stdout"; codegen.StartInfo.RedirectStandardError = true; codegen.StartInfo.RedirectStandardOutput = true; codegen.StartInfo.UseShellExecute = false;