microsoft / AirSim

Open source simulator for autonomous vehicles built on Unreal Engine / Unity, from Microsoft AI & Research
https://microsoft.github.io/AirSim/
Other
16.28k stars 4.53k forks source link

Cannot Read settings file when running in unity #4514

Open Ibrahim2595 opened 2 years ago

Ibrahim2595 commented 2 years ago

I am getting this error when running the game mode in unity on windows

Unity 2019.3.12f1 Followed the release instructions.

Error from console:

Cannot read settings file C:\Program Files\Unity\Hub\Editor\2019.3.12f1\Editor\settings.json Vehicle= UnityEngine.Debug:LogError(Object) AirSimUnity.Vehicle:PrintLogMessage(String, String, String, Int32) (at Assets/AirSimAssets/Scripts/Vehicles/Vehicle.cs:302) AirSimUnity.VehicleCompanion:PrintLogMessage(String, String, String, Int32) (at Assets/AirSimAssets/Scripts/Vehicles/VehicleCompanion.cs:205)

Ibrahim2595 commented 2 years ago

The file settings.json does not exist in my folder C:\Program Files\Unity\Hub\Editor\2019.3.12f1\Editor\settings.json

jonyMarino commented 2 years ago

Hi and welcome, @Ibrahim2595! I'm not sure why AirSim is expecting to find settings.json there, but as a workaround, you can copy the settings.json you have in Documents\AirSim and paste it there.