Author Topic: Crash during ExportAll (C# API)  (Read 2460 times)

Danilo Nishimura

  • Sr. Member
  • ****
  • Posts: 66
  • Senior Technical Artist at Massive Entertainment
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.

Alexis Vaisse

  • Administrator
  • *****
  • Posts: 189
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.

Alexis Vaisse

  • Administrator
  • *****
  • Posts: 189
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.

Danilo Nishimura

  • Sr. Member
  • ****
  • Posts: 66
  • Senior Technical Artist at Massive Entertainment
Updating to 1.8.5 fixed the issue. Thanks!