Instant Terra Forum

Instant Terra => Crash and bug reports => Topic started by: Danilo Nishimura on January 06, 2020, 05:57:02 PM

Title: Crash during ExportAll (C# API)
Post by: Danilo Nishimura on January 06, 2020, 05:57:02 PM
Hi there,

When I put a project.Close() after project.ExportAll(), most of the times will crash before exporting the maps.

I'm trying to automate the terrain creation pipeline, and I really need to close Instant Terra after generating the result.

Would be nice if ExportAll returned an Async operation, or provided a way to know when the processing is done. Maybe all nodes could return its statuses.
Title: Re: Crash during ExportAll (C# API)
Post by: Alexis Vaisse on January 06, 2020, 09:11:21 PM
Hi,

The expected behavior is that Project.ExportAll() should wait until all export nodes have been processed.
We're going to look at this crash. We'll tell you when it's fixed.

Thank you very much for reporting this crash.
Title: Re: Crash during ExportAll (C# API)
Post by: Alexis Vaisse on January 07, 2020, 12:19:57 PM
We successfully managed to reproduce the crash and fix it.
The fix will be in Instant Terra Pro 1.8.5 to be released on January 8th.
Title: Re: Crash during ExportAll (C# API)
Post by: Danilo Nishimura on January 08, 2020, 11:19:49 PM
Updating to 1.8.5 fixed the issue. Thanks!