I'm not sure if I'm doing something wrong but my instance ID numbers keeps changing.
In Sketchfab API I'm successfully using api.hide/api.show to hide/show parts of my model's geometry but there are two problems, one minor and one major:
My object ID numbers are not the same on all browsers (Chrome/Mozilla) so I have to have two different numbers for one object. This problem, however, magically disappears after some time (10/15 days) because ID's keep changing and at some point become the same both on Chrome and Mozilla.
My object ID numbers are changing over time so I have to check every 15 days to see if instance ID's are still the same and rewrite the api.hide/api.show code if they are not.
Am I doing something wrong? Can I use instance names instead of instance numbers somehow, they don't seem to be changing over time?
I am using the first ID number from console "(number):Object" (to show/hide geometry) and underneath it marks it's type as a "Group". There are, however, "Children: Array" objects that are marked as "type:RigGeometry" with different number ID's from parent? Should I maybe use them instead of Group object?