Bug(s) in hide-n-seek demo?
- Lingua principale
- C#
- Stelle
- 1.8k
- Fork
- 296
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hello,
I'm wondering if the hide-n-seek demo is working for anyone, as I ran into a couple of issues trying to make it work.
I forked the master branch and cloned it, installed the appropriate version of unity (2018.4.16f1), and built the template according to the instructions. When I open it (adding the `?object=Tomato&variation=0` GET parameters as described), I hit a couple of problems:
In `script.js`, the `handleEvent` function tries to push a metadata object to `outputData.actions` -- but `actions` is never defined inside `outputData`. Once I fixed that (adding `actions: []` in the `let outputData = ...` line), the WebGL object loads, but does not capture keyboard events. I can click on the Fridge to open and close the door, but no keyboard events appear to reach the WebGL object (and a breakpoint on `handleEvent` only sees the CloseObject and OpenObject actions, but never anything else.
As a side note, the Finish and Reset buttons also don't do anything, which it appears from `script.js` that they should?
Concretely,
- Does the hide-n-seek demo work for anyone else? The [THOR demo](https://ai2thor.allenai.org/ithor/demo/) works just fine in the same browser.
- Any idea why it isn't capturing keyboard inputs?
- Is the template and/or source code for the browser demo available anywhere?
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.