-
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
Some problem about the Unitydemo/carDemo #3276
Comments
Hi @MiaoMiaoMeng , it looks like this was added as a placeholder for camera distortion in e5967a0 of #3039 |
Thx for your help@ahmed-elsaharti,
the value which named as fov_degrees is not found. I think that is the 'value' BTW,I also didn‘t found any reference about this function. |
I read the src in this morning and set a try catch in Reset() function, from the result I think that Vehicles can't Find the element with 'vehicleName'
that's make me feel confuse, I think the vehicleName is already pass in InitDelegators() when the StartVehicleServer() been used. |
My understanding is that camera distortion hasn't been implemented in Unity yet. I could be wrong though since I barely looked into the code within the PR. @saihv would probably be able to answer this better than me. |
Yes, that is correct; the programmable camera distortion was not implemented for Unity. |
Hi @MiaoMiaoMeng, |
Encountered same, last working Unity version I found can be checked out via: Unity build is currently broken, @jonyMarino maybe this is more than a feature request? |
Hello, @MiaoMiaoMeng . How do you solve those errors? |
Hi @MultiPsy, |
Hi @MiaoMiaoMeng and @MultiPsy, thank you for reporting and testing this issue. I just created a PR that should address both issues you are experiencing with the UnityDemo. Please apply this PR and test again and let me know if you are still seeing this issue. |
Thanks @zimmy87 , It works well. Thank you again. |
AirSim/Unity/UnityDemo/Assets/AirSimAssets/Scripts/Vehicles/VehicleCompanion.cs
Line 197 in 68ae8de
Hi, I have some question about this function, It seem like we didn't use this function.
So I try to annotation this part of code.
But when I try to run the carDemo, the Editor will crash.
From the Log i found
Loaded scene 'Assets/Scenes/CarDemo.unity'
Deserialize: 27.018 ms
Integration: 13.212 ms
Integration of assets: 1.326 ms
Thread Wait Time: 6.267 ms
Total Operation Time: 47.824 ms
NullReferenceException: Object reference not set to an instance of an object
at AirSimUnity.VehicleCompanion.Reset (System.String vehicleName) [0x00025] in C:\AirSim-master\Unity\UnityDemo\Assets\AirSimAssets\Scripts\Vehicles\VehicleCompanion.cs:146
AirSim/Unity/UnityDemo/Assets/AirSimAssets/Scripts/Vehicles/VehicleCompanion.cs
Line 146 in 68ae8de
But I didn't found which code use it, except “getfunctionpointerfordelegate”.
Is there anyone else have the same situation like me?
The text was updated successfully, but these errors were encountered: