I met some inexplicable bugs when trying developing an extension of Sketchup. During the process of debugging, I find that there are some strange problems with the model.
When I open it with su 2020 and select a group, its persistent_id is showed as 145313, but I can find another edge with same persistent_id by “model.find_entity_by_persistent_id”. As a result, a group and an edge have same persistent_id, which call some crashes to my program.
However, when I open it with su 2021, its persistent_id is showed as 3132761, and everything goes well.
More details are showed in the two screenshots. Is there any way to solve the problem in su 2020?