Jump to content

[SOLVED] Deleting nodes loaded from FbxImporter


photo

Recommended Posts

Hi, I have faced some problems when reloading world after loading nodes that were imported with FbxImporter. SDK is 2.9.0.0 and application is 'Only Unigine Script'

The app workflow is the following:

  1. App looks, at startup, for all FBX stored in some known folders. Being each folder a type of entity.
  2. All FBX are imported and stored in a temporal folder.
  3. When all FBX and its '.node' files are created, some instances of each FBX are loaded in scene via node_load()
  4. Nodes can be deleted and loaded again many times. Nodes are deleted via node_delete()
  5. When app is closed, all nodes are deleted.

Runtime create/delete works fine but when we run world_reload command, the application crashes.
We tried same behaviour but, instead of using FBX nodes, using nodes created in editor. In this case, application does not crash on world_reload.
We exported this non-crashing nodes as FBX with editor. Using these FBX also makes an app crash.

I have attached an example (without bin/ folder) that reproduces the issue.

Any tips of what may I be doing wrong?

Regards, Javier

delete_test.7z

Link to comment

Hi Morbid,

I just made a quick sample in 2.9.0.0 but App is in 2.9.0.2. Crash appears in both versions.
As runtime create/delete is Ok, we don't need a quick fix but we have plans for changing world in the future.

Thanks!

Link to comment
  • 2 months later...
  • morbid changed the title to [SOLVED] Deleting nodes loaded from FbxImporter
×
×
  • Create New...