Skip to content

Breakpoint in RenderRequest.cpp while taking Scene Images #4120

@Gastastrophe

Description

@Gastastrophe

Bug report

  • AirSim Version/#commit: v1.5.0-windows (also seen in 1.6.0)
  • UE/Unity version: Unreal 4.25 (also seen in 4.26)
  • autopilot version: SimpleFlight (Also seen with PX4 SITL)
  • OS Version: Windows version 1809

What's the issue you encountered?

As I brought up in Issue #3291, when taking lots of Scene images as one would do for Reinforcement Learning, Unreal Engine generates a breakpoint inside of RenderRequest.cpp and crashes the simulator.

AirSim_Issue

Settings

Default settings

How can the issue be reproduced?

  1. Download and Build AirSim and the default Blocks environment.
  2. Change the image request in the init function of drone_env.py from self.image_request = airsim.ImageRequest( 3, airsim.ImageType.DepthPerspective, True, False ) to self.image_request = airsim.ImageRequest( 3, airsim.ImageType.Scene, True, False )
  3. Inside of transform_obs, change img2d = np.reshape(img1d, (responses[0].height, responses[0].width)) to img2d = np.reshape(img1d, (responses[0].height, responses[0].width, 3))
  4. Inside of transform_obs, change return im_final.reshape([84, 84, 1]) to return im_final.reshape([84, 84, 3])
  5. Start Unreal Engine and run dqn_drone.py. Wait for a minute or two for the images to be taken and processed.

Include full error message in text form

UE4Editor-Win64-DebugGame.exe has triggered a breakpoint.

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