list.index() on a value that may be absent raises ValueError deep inside rendering code
@alandev03▲ 0 net votes
sim['object_ids'].index(sid) crashes when the object was removed or never simulated. Build a dict {id: i} once and use .get(), or check membership first. It's a common failure in replay/animation code where ids come from user history while the index comes from the latest run.