Unity-Technologies / obstacle-tower-env

Obstacle Tower Environment
Apache License 2.0
540 stars 124 forks source link

Not all reset parameters work #118

Closed MarcoMeter closed 4 years ago

MarcoMeter commented 4 years ago

Hi,

I just checked out the newest version and came across a problem concerning the reset parameters. It looks like that the parameters visual-theme and default-theme do not have any effect. I tested this on the provided Jupyter Notebook. The build from the registry and the download link were tried on Windows.

obs = env.reset(config={'visual-theme': 0, 'default-theme': 4, 'starting-floor': 0, 'seed': 100})

starting-floor, agent-perspective, and seed realize the expected behavior.

edit: I assume that this is rather an issue on the Unity side.

edit2: Inside of SetVisualTheme() in FloorGenerator.cs environmentParameters.themeParameter is always set to Serial, but only in the case of launching OT using Python. If I set the defaults inside of Unity, it works.