Skip to content

[BUG] weird lit behaviour and monster character #23

@GabVenturato

Description

@GabVenturato

🐛 Bug

Even when I manually lit and premap the entire room, there are still obscured areas. Moreover, the rendering presents shadows that don't seem to follow what would be the line of sight of the agent. Finally, the character for the monster is a question mark.

To Reproduce

Steps to reproduce the behavior:

  1. Download and unzip MWE.zip
  2. cd MWE
  3. pip install -r requirements.txt
  4. python test.py

Expected behavior

By using the premapped and lit tags, I expect the room to be fully visible, but it is not the case. Am I doing something wrong?

Specifically,

  • At the beginning of the episode the key is not visible, only when the agent surpasses the corner of the room it becomes visible.
  • There are shadowed tiles that don't seem to follow any meaningful behaviour.
  • While the agent moves there the shadowed tiles "adapt" to the current location of the agent, but again, they are not consistent with what the agent should see, and they are not supposed to be there if I manually lit and premap the entire room. Right?
  • When the door is finally opened, the monster is just a question mark. If you try with other seeds (e.g. 42) the monster is immediately visible and correctly rendered.

Environment

  • MiniHack Version (e.g., 1.0): 1.0.2
  • NLE Version (e.g. 1.0): 1.2.0
  • PyTorch Version (e.g., 1.0): 2.2.2
  • OS (e.g., Linux): MacOS 15.5
  • How you installed MiniHack (conda, pip, source): pip
  • Build command you used (if compiling from source): N/A
  • Python version: 3.10.16
  • CUDA/cuDNN version: N/A
  • GPU models and configuration: N/A
  • Any other relevant information: N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions