Continuation of post: Multithreaded loading - #9 by Turowicz
In the linked post you can see the comparison of doing many color randomizations vs. no color randomizations. Seems like going through the scene tree with the built-in regex mechanism is extremely slow. How do we speed this up?
Hello @Turowicz ! Following your original report, we have been improving the get functionality in scenes with large numbers of instances which you can expect to see in the next version of IsaacSim. In current Isaac, the best approaches are to enable cache_result=True or to pass in the reference to the prims directly. If neither of those approaches can be applied (for example if prims are created/destroyed dynamically), I would recommend a functional approach to reduce prim searching to a single traversal.
Hey thanks for the info. We are using cache_result=True everywhere but we still get “unable to find prim” at each step.
2026-02-14T08:13:08Z [810,213ms] [Warning] [omni.replicator.core.ogn.python.impl.nodes.OgnGetPrims] No prims found with given inputs: hat_.*_tint
2026-02-14T08:13:09Z [810,244ms] [Warning] [omni.replicator.core.ogn.python.impl.nodes.OgnGetPrims] No prims found with given inputs: hat_tint
2026-02-14T08:13:09Z [810,275ms] [Warning] [omni.replicator.core.ogn.python.impl.nodes.OgnGetPrims] No prims found with given inputs: mask_A_tint
2026-02-14T08:13:09Z [810,308ms] [Warning] [omni.replicator.core.ogn.python.impl.nodes.OgnGetPrims] No prims found with given inputs: earprotectors
2026-02-14T08:13:09Z [810,344ms] [Warning] [omni.replicator.core.ogn.python.impl.nodes.OgnGetPrims] No prims found with given inputs: helmet_tint
2026-02-14T08:13:09Z [810,384ms] [Warning] [omni.replicator.core.ogn.python.impl.nodes.OgnGetPrims] No prims found with given inputs:
2026-02-14T08:13:09Z [810,424ms] [Warning] [omni.replicator.core.ogn.python.impl.nodes.OgnGetPrims] No prims found with given inputs:
2026-02-14T08:13:09Z [810,452ms] [Warning] [omni.replicator.core.ogn.python.impl.nodes.OgnGetPrims] No prims found with given inputs: glasses_12_lenses
2026-02-14T08:13:38Z [840,098ms] [Warning] [omni.replicator.core.ogn.python.impl.nodes.OgnGetPrims] No prims found with given inputs: hat_.*_tint
2026-02-14T08:13:38Z [840,130ms] [Warning] [omni.replicator.core.ogn.python.impl.nodes.OgnGetPrims] No prims found with given inputs: hat_tint
2026-02-14T08:13:38Z [840,160ms] [Warning] [omni.replicator.core.ogn.python.impl.nodes.OgnGetPrims] No prims found with given inputs: mask_A_tint
2026-02-14T08:13:38Z [840,193ms] [Warning] [omni.replicator.core.ogn.python.impl.nodes.OgnGetPrims] No prims found with given inputs: earprotectors
2026-02-14T08:13:38Z [840,231ms] [Warning] [omni.replicator.core.ogn.python.impl.nodes.OgnGetPrims] No prims found with given inputs: helmet_tint
2026-02-14T08:13:39Z [840,274ms] [Warning] [omni.replicator.core.ogn.python.impl.nodes.OgnGetPrims] No prims found with given inputs:
2026-02-14T08:13:39Z [840,316ms] [Warning] [omni.replicator.core.ogn.python.impl.nodes.OgnGetPrims] No prims found with given inputs:
2026-02-14T08:13:39Z [840,348ms] [Warning] [omni.replicator.core.ogn.python.impl.nodes.OgnGetPrims] No prims found with given inputs: glasses_12_lenses