Skip to content

Unity crashes when I hit play for any demo #4493

Closed
@Lyccccccccccc

Description

@Lyccccccccccc

Bug report

  • AirSim Version/#commit: Latest one. I just clone the latest repo.
  • UE/Unity version: I tried both 2019.3.12 and 2020.3.29
  • autopilot version: N/A
  • OS Version: Windows 10

What's the issue you encountered?

I followed the instruction to build Airsim on Unity on Windows and I opened the demo project and hit play to start. Unity just crashed with whatever mode. Once I deleted AirsimManager, it worked as normal. If include AirsimManager in any of the scene, Unity will crash when play. In this case, we are not able to start the server for the API client to connect.
image
image

Settings

Default setting. Edited: I realized that I was not using the default setting file. In the setting file, I set the mode to be computer vision.

How can the issue be reproduced?

  1. Follow the instruction to build Airsim on Unity on Windows in this link: https://github.com/microsoft/AirSim/blob/master/docs/Unity.md
  2. Start the demo project and hit play

Include full error message in text form

No error message, just crashed.

What's better than filing an issue? Filing a pull request :).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions