While decompositioning HomeDesigner scene setup, ive encountered json.Net exeption wich i was able to reproduce in unchanged HomeDesigner.scene.
While trying to save jsut loaded Model, got
JsonSerializationException: Self referencing loop detected for property 'linear' with type 'UnityEngine.Color'. Path 'floors[0].sceneObjects[0].colorVariant'.

From InteriorSerializer.cs around line 313 :
return JsonConvert.SerializeObject(currentInteriorFile, Formatting.Indented);
Could be fixed if choosed to ignore infinite loop dependencies by
return JsonConvert.SerializeObject(currentInteriorFile, Formatting.Indented,new JsonSerializerSettings() {
ReferenceLoopHandling = ReferenceLoopHandling.Ignore
});
Seems its not affecting overall saved data for now.

    Miagton Thanks, I don't remember having this exception, but I will add this as it's a safe setting.

      Anthony thnx and np!
      It occured accidently for me after putting some objects into room and trying too save it,so im not sure of exact scenario for now.But yeah,i also modified if on my side to keep it workign and safe 😄

      Write a Reply...