Jump to content

Exporting spline graph to FBX/mesh is broken in 2.19


photo

Recommended Posts

Posted

Hello everyone,

To day is a pretty critical and problematic issue.

In Unigine 2.16 and 2.18 we used to be able to export our spline graphs into FBXs and it was working fine.

However in 2.19, the export do not export all the crossings. I exported from the art samples 2.18 and 2.19 FBXs and I imported them in my art sample project. Look


image.thumb.png.977862b771e201a242ed4f53f74e9c7f.png

Note that it does the same thing with .mesh export.

We were relying on this for a project, and this is severely impairs our capacity to proceed on some features. What happened ? Did you change something in the internal workings of the spline graph ?

You can test on your side with your art samples 2.18 and 2.19, exporting to FBX/mesh

Posted

Hi Kevin,

Thank you for bringing this to our attention.

As far as we can tell, WorldSplineGraph itself has not been changed (still experimental). However, there were some refactoring updates related to skinned meshes, and it is possible that the exporter was not fully adjusted to these changes.

We will need a bit more time to investigate the issue and determine what exactly is happening.

As far as I understand, you are using the built-in Editor functionality to perform the export. Is that correct, or are you using custom code from your Editor plugin for the export process?

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

Hi,

I'm using nothing that is not included in Unigine.

Art Samples 2.19, World spline graph, the default spline created for the roads, right-click and export to mesh (or FBX). And I import the result. Both .mesh and .fbx seem affected.

The same process in 2.18 (and 2.16) worked smoothly.

  • Like 1
Posted

Hi Kevin,

Thank you for your patience.

We have identified the root cause of this issue and are currently preparing a patch for you. Once it is ready and tested, I will send you a private message with the download link (more likely tomorrow).

To apply the fix, it should be sufficient to update the Unigine_*.dll files in your project.

  • Like 1

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

Thans @silent, the patch does work.

I'm a little confused by the logic when you create parts of the mesh though


image.png.6f1d3682ae8cbd3f16f6bb1bfa623bd1.png

It was already the case before, but why creating a single mesh for parts of the splines that doesn't seem to be related ?
(I haven't tried to set any specific setting durign export or FBX import)

Posted

If they all point to a single .mesh file that probably was done for the optimization reasons. WorldSplineGraph is still an experimental object and it may produce very strange results sometimes.

How to submit a good bug report
---
FTP server for test scenes and user uploads:

×
×
  • Create New...