Skip to content

Issue in launching multiple environments for training #17

@MeghaMaheshwari

Description

@MeghaMaheshwari

The train_config.gin file has 64 has the num_of_envs

`include 'configs/shared.gin'

run.num_iterations=1000
run.num_envs=64
run.run_mode='train'
run.seed = 20`

However, when I try to run it, i get the error

2026-01-26T03:47:01Z [256,973ms] [Error] [omni.physx.plugin] Replication of this type is not supported: 262144, prim path: /World/envs/env_0/CombinedSingleRack/PhysicsScene
2026-01-26T03:47:01Z [256,973ms] [Error] [omni.physx.plugin] Replication of this type is not supported: 2031616, prim path: /World/envs/env_0/CombinedSingleRack/office/Juniper/branch_instancer

Based on the forums, https://forums.developer.nvidia.com/t/replication-of-this-type-is-not-supported/248996, I changed the environment.py file to add replicate_physics=False,

Combined_single_rack = EnvSceneAssetCfg(
prim_path="{ENV_REGEX_NS}/CombinedSingleRack",
replicate_physics=False,
init_state=AssetBaseCfg.InitialStateCfg(
pos=(0, 0, 0.01),
rot=(1.0, 0.0, 0.0, 0.0),
),

When i run it, i see the logs below

[INFO]: Time taken for scene creation : 0.864440 seconds
[INFO]: Scene manager:
Number of environments: 2
Environment spacing : 50
Source prim name : /World/envs/env_0
Global prim paths : ['/World/ground']
Replicate physics : False
[INFO]: Starting the simulation. This may take a few seconds. Please wait...

However, I only see one environment getting launched?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions