allenai / allenai/ai2thor

Unity Window frozen/blank using quickstart example

Aberta
#1,158 3 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
C#
Estrelas
1.8k
Forks
296
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

* Python 3.11.4
* ai2thor 5.0.0 and 4.3.0
* Mac M2 (tested both in x86_64 emulation and in regular ARM64 modes)
* I don't see anything particularly suspicious in [Player.log](https://github.com/allenai/ai2thor/files/12542981/Player.log), but I also don't know what to look for specifically

I installed ai2thor with `pip3 install ai2thor`. Then I ran the example from https://ai2thor.allenai.org/ithor/documentation/initialization:

```python3
from ai2thor.controller import Controller

controller = Controller(
agentMode="default",
visibilityDistance=1.5,
scene="FloorPlan212",

# step sizes
gridSize=0.25,
snapToGrid=True,
rotateStepDegrees=90,

# image modalities
renderDepthImage=False,
renderInstanceSegmentation=False,

# camera properties
width=300,
height=300,
fieldOfView=90
)
```

The console showed me that the ai2thor binaries and assets were downloaded:

thor-OSXIntel64-a634e28ea55b149ce5f746f19f45dd6f43e5878b.zip: [|||||||||||||||||||||||| 100% 1.2 MiB/s] of 534.MB

However, when I created the `Controller` instance, the Unity window that is opened is blank and completely unresponsive (frozen, with the cursor being the beachball of death):

image

I thought it was curious that the downloaded zip said `OSXIntel64`, considering I'm using an ARM64, but switching to X86_64 emulation mode did not fix the issue. Downgrading ai2thor from 5.0.0 to 4.3.0 did not fix the issue either.

The really weird thing to me is that I can run the ai2thor application directly (not from Python):

```shell
$ /Users/nathanglenn/.ai2thor/releases/thor-OSXIntel64-a634e28ea55b149ce5f746f19f45dd6f43e5878b/thor-OSXIntel64-a634e28ea55b149ce5f746f19f45dd6f43e5878b.app/Contents/MacOS/AI2-THOR
```

The above command opens a responsive AI2Thor window:

image

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.