lgsvl / simulator

A ROS/ROS2 Multi-robot Simulator for Autonomous Vehicles
Other
2.29k stars 780 forks source link

can't add project in UnityHub when building the project #623

Closed Allenhe123 closed 4 years ago

Allenhe123 commented 4 years ago

i just follow the Instructions to build standalone executable. Step 7: In the Projects tab, click Add and select the folder that the Simulator was cloned to There's no respond after i add the cloned simulator project. I am using a Unity persional license. Thanks.

Allenhe123 commented 4 years ago

I have found that someone had this issue before: #293. I am using a UnityHub2.2.2 which is the latest version. My platform is Ubuntu18.04LTS.

Allenhe123 commented 4 years ago

info-log.txt

Attachment is the log file of UnityHub.

ntutangyun commented 4 years ago

Here's my Setup: Unity Hub: 2.2.2 Unity: 2019.1.10f1 System: Ubuntu 18.04

Everything works fine so far, including build the simulator standlone executable. What's your Unity version @Allenhe123

Allenhe123 commented 4 years ago

My Unity version is: UnitySetup-2019.1.10f1 @ntutangyun

ntutangyun commented 4 years ago

@Allenhe123 have you tried to check if you have following files as indicated by the info-log.txt, /home/bstcd/.local/share/unity3d/prefs ?

If cannot find, maybe you could try to reinstall the unity editor ? hopefully it works.

Allenhe123 commented 4 years ago

Thank you @ntutangyun Yes, i have double checked it and the unity3d/prefs directory was not exist. Maybe the root cause is Unity3d was not installed successfully. I will try to reinstall it. :)

SeymurSm commented 4 years ago

It happens on Ubuntu. To overcome the problem create dummy project by using New button. Close newly created project and try to add simulator with Add button.

Allenhe123 commented 4 years ago

@SeymurSm Thank you for your advice. I have resolved the issue: just create a new u3d project before add the simulator project.