-
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 build improvements #2328
Unity build improvements #2328
Conversation
50feeeb
to
a28c6f0
Compare
There is still one file: ProjectVersion.txt, which changes based on the Unity version, but since that is similar to the .uproject file for Unreal, therefore didn't add that Also, an extra |
fe5a447
to
282af06
Compare
b2fc924
to
00e13e6
Compare
The RPC CMake file in Unity is modified from the rpclib's CMakeLists.txt, which has the same error, and has been fixed in the fork which is used in #2340 Edit: Attached is the output in the current form of the branch, captured using |
a5f0a07
to
8d16b62
Compare
Looks good to me but haven't tested it. @madratman - please feel free to merge this. |
@sytelus Thanks for the review! I've tested this on Ubuntu 18.04 with the latest version of Unity available (2019.2.17f1) |
There are two .asset files which were generated by Unity, along with a |
67f5789
to
5a7f75a
Compare
there's a commit for a sharedlib in there (Unity/UnityDemo/Assets/Plugins/libAirsimWrapper.so.meta). |
@madratman This was the part I was confused about, there's already a .meta file for the DLL generated on Windows, so either that can be removed or following the logic, on Linux, the .so file is generated with it's associated .meta file, which is being added |
Hmmm, my guess is the commit-ment of the |
08eff00
to
e892c18
Compare
Rebased on master, as can be seen (or not seen), the Travis PR build is not appearing |
e892c18
to
87a4c0b
Compare
Upgrade to clang 8, Fix CMake detection, non-standard string comparision, remove whitespace, spurious semicolons Add debug info
…iler warning flag
25053c7
to
53f8fd7
Compare
If the problem still persists, an option could be to update the Unity version in docs and the project files in PR |
On Windows, running Unity 2019.2.17f1 I get 100s of logs in the unity console log:
When I try and run |
This PR currently just fixes compilation errors, some annoyances and the crash on starting |
I think several people have been using this PR for Unity, and it seems to work atleast for not crashing at the beginning itself |
I am able to run this fine in Unity 2019.3.12 in Ubuntu (seemingly released yesterday). No compilation errors - but I do see the barrage of warnings with all sorts of obscure compiler flags; I cannot seem to find the origin of these through grep. EDIT: Found the cause, discussion in #2478 Looks like Unity Hub for Ubuntu is also new? (The AirSim instructions don't mention it). Perhaps we should upgrade the Unity assets to target 2019.3 and merge. |
Thanks @saihv! I think let's update the assets, and merge it. |
1d16102
to
3b9c8ac
Compare
Interestingly {
"SettingsVersion": 1.2,
"SimMode": "Multirotor",
"Vehicles": {
"Drone1": {
"VehicleType": "simpleflight"
}
}
} results in crash but {
"SettingsVersion": 1.2,
"SimMode": "Multirotor"
} works Maybe this is the issue I was running in to. |
Thanks a lot for testing and merging @saihv @madratman |
On windows i run unity Demo on 2019.3.12f,use keyboard the car can movie ,but when i run the hello_car.py,it connect ,no error ,normal output:speed,Go forward,steer right~~~~~,the car in the scene doesn't move. i really want to know how to solve it. when i use 2018.2.15,it didn't occur thank you! |
manifest.json
TODO:
Done: