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

An Error while run "Scene Generation" #14

Open
Cheung-Z opened this issue Aug 28, 2024 · 3 comments
Open

An Error while run "Scene Generation" #14

Cheung-Z opened this issue Aug 28, 2024 · 3 comments

Comments

@Cheung-Z
Copy link

Cheung-Z commented Aug 28, 2024

系统: macOS 14.4.1
python版本: 3.9.16

运行代码:
from legent import Environment, ResetInfo env = Environment(env_path="auto") scene = { "instances": [ { "prefab": "LowPolyInterior_Floor_01", "position": [0, 0, 0], "rotation": [0, 0, 0], "scale": [4, 1, 4], "type": "kinematic" }, { "prefab": "LowPolyInterior_Potato", "position": [0,0.1,0], "rotation": [0, 0, 0], "scale": [1, 1, 1], "type": "interactable" }, ], "player": { "position": [0,0.1,1], "rotation": [0, 180, 0] }, "agent": { "position": [0,0.1,-1], "rotation": [0, 0, 0] }, "center": [0, 10, 0], "prompt": "" } try: env.reset(ResetInfo(scene)) while True: env.step() finally: env.close()

development console打印信息:
NullReferenceException: Object reference not set to an instance of an object
at Legent.AssetsLoader.LateUpdate () [0x0009e] in C:\Users\cheng\UnityProjects\thyplaymate\Assets\LEGENT\Runtime\AssetsLoader.cs:1913

@Cheung-Z
Copy link
Author

btw, https://docs.legent.ai/blog/introduction/ 有一处错误"legend launch --scene 0"

@chengzl18
Copy link
Member

The issue has been resolved. Use legent download to update the client and try again. It was caused by a missing grpc file in the most recent Mac version build. In subsequent updates, we will test the correctness of the client on all platforms.
Thank you for your timely feedback!

@chengzl18
Copy link
Member

The typo has been corrected.

btw, https://docs.legent.ai/blog/introduction/ 有一处错误"legend launch --scene 0"

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

2 participants