Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add_agent NPC error #65

Open
xiejingjacob opened this issue Jun 21, 2022 · 2 comments
Open

add_agent NPC error #65

xiejingjacob opened this issue Jun 21, 2022 · 2 comments

Comments

@xiejingjacob
Copy link

When I run the quickstart/08-create-npc.py

I got errors

Python API Quickstart #8: Creating various NPCs

Traceback (most recent call last):

File "./quickstart/08-create-npc.py", line 40, in

npc = sim.add_agent("Sedan", lgsvl.AgentType.NPC)

File "/home/xj/PythonAPI/lgsvl/utils.py", line 23, in new_f

return f(*args, **kwargs)

File "/home/xj/PythonAPI/lgsvl/simulator.py", line 164, in add_agent

uid = self.remote.command("simulator/add_agent", args)

File "/home/xj/PythonAPI/lgsvl/remote.py", line 69, in command

raise Exception(data["error"])

Exception: Object reference not set to an instance of an object

running in ubuntu20.04

@tjx1233
Copy link

tjx1233 commented Jul 13, 2022

I have same problem here, when using simulator.exe built from source code(2021.3). The release version is fine.

@Daparrag
Copy link

any update regarding this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants