-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Unity: Editor quits after selecting a vehicle "Problem in starting AirSim server!!!" #2609
Comments
This is probably due to a current bug in the code, which is being fixed in #2328 |
I have the same error: Problem in starting AirSim server!!! Please check logs for more information |
Hello,Have you solved the problem? |
If someone would like to try the PR, then use the following commands
|
I tried pulling #2328 and building but the build failed:
|
Did you run |
No I forgot about that! It works now, tested in Unity 2019.2.11f1. For anyone else wanting to try branch #2328 here are the steps:
|
Glad to know it works. |
@rajat2004 , I am assuming this branch delivers just the bug fixing highlighted by @conorokane . |
I think the API list is correct, there might be some more APIs not present in the list which haven't been implemented yet in Unity |
The unity version I ended up using was 2018.2.15f1. Now it's up and running。 |
#2328 has been merged, so I think this issue can be closed |
The "Problem in starting airsim server" happens if settings.json has a non-empty "Vehicles" section. So this fails: {
"SettingsVersion": 1.2,
"SimMode": "Multirotor",
"Vehicles": {
"Drone1": {
"VehicleType": "simpleflight"
}
}
} But this works perfectly fine: {
"SettingsVersion": 1.2,
"SimMode": "Multirotor"
} This error is still there post #2328 |
This is probably a problem with the way Unity handles the settings, there's a PR #2303 which fixes problems with Unity, but I haven't tested it yet and it's quite an extensive PR to review as well |
Workaround for this Issue: I think this Workaround is currently needed to get SITL working with PX4 <-> AirSim <-> Unity |
This issue has been automatically marked as stale because it has not had activity from the community in the last year. It will be closed if no further activity occurs within 20 days. |
To reproduce: Follow the install instructions here: https://microsoft.github.io/AirSim/Unity/
Play the SimModeSelector scene.
Click the Car Mode or Drone Mode button.
Error message appears:
Problem in starting AirSim server!!! Please check logs for more information
The editor then quits.
Editor log shows:
Tested in Unity 2018.2.15f1 and 2019.1.0f2 on Windows 10.
The text was updated successfully, but these errors were encountered: