Skip to content

Fix UnityDemo build - #3343

Merged
David Zimmermann (zimmy87) merged 5 commits into
microsoft:masterfrom
zimmy87:master
Feb 2, 2021
Merged

Fix UnityDemo build#3343
David Zimmermann (zimmy87) merged 5 commits into
microsoft:masterfrom
zimmy87:master

Conversation

@zimmy87

Copy link
Copy Markdown
Contributor

Fixes: #3276

About

This change fixes the build break caused by VehicleCompanion.SetDistortionParam referencing a non-existent parameter. This also fixes an issue where the DllImport of InitVehicleManager was missing two parameters that were added to the API in the AirLibWrapper.

How Has This Been Tested?

AirLibWrapper was built with this PR applied and it was confirmed that both car and drone mode in the UnityDemo project can launch without issue.

Screenshots (if appropriate):

This fixes the DllImport of InitVehicleManager so that it matches the method signature in the AirLibWrapper
@ClarkZha

Copy link
Copy Markdown

This fix solves the build problem in master (on Linux 18.04 with Unity 2019.3.12. )

Comment thread Unity/UnityDemo/Assets/AirSimAssets/Scripts/Utilities/PInvokeWrapper.cs Outdated
Fixing the names of various camera distortion APIs to align with the Unity project's naming conventions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some problem about the Unitydemo/carDemo

4 participants