Free Support Forum - aspose.com

Saving and Loading scene is sometimes losing objects

Aspose.ThreeD Version 192.12.2

Created an sln with a unit test. Notice I have added [Repeat(200)] as the results have been inconsistent and do not always fail.

AsposeIssue-SaveAndLoad.zip (2.5 KB)

Below you can see that the test passes successfully many times but does fail at some point:

This should never happen.
Expected: 2400
But was: 2399

at AsposeIssue_SaveAndLoad.ClonedSceneLosesCubes.Scene_with_many_cubes_is_cloned_and_loaded_with_same_cubes(FileFormat fileFormat) in C:\Users\aleki\source\repos\AsposeIssue-SaveAndLoad\ClonedSceneLosesCubes.cs:line 48

Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2400
Input Cubes: 2400
Output Cubes: 2399

@bortos

We have logged an issue as THREEDNET-608 in our issue tracking system for further investigation on this scenario. We will further look into details of it and keep you posted with the status of its correction. Please be patient and spare us little time.

We are sorry for the inconvenience.