CodexLabsLLC / Colosseum

Open source simulator for autonomous robotics built on Unreal Engine with support for Unity
https://codexlabsllc.github.io/Colosseum/
Other
335 stars 105 forks source link

RHI Lock Buffer Error #85

Closed cheny110 closed 5 days ago

cheny110 commented 2 months ago

Bug report

What's the issue you encountered?

When i call the python api to get static mesh, it gets stuck in GDynamicRHI->RHILockBuffer(*this, Buffer, Offset, SizeRHI, LockMode) and Raised Segmentation fault error! The log message indicates "Assertion failed: GraphicsContext [File:Runtime/RHI/Public/RHICommandList.h] [Line: 755] There is no active graphics context on this command list. There may be a missing call to SwitchPipeline()." image

Settings

How can the issue be reproduced?

  1. Run airsim in quadrotor simulation mode;
  2. Call python API client.simGetMeshPositionVertexBuffers();

Include full error message in text form

[2024.06.11-07.10.58:617][338]LogTemp: lookahead = 0.750000, adaptive_lookahead = 1.000000 [2024.06.11-07.10.58:640][340]LogRHI: Display: Encountered a new compute PSO: 1111704264 [2024.06.11-07.10.58:640][340]LogRHI: Display: Encountered a new compute PSO: 208691758 [2024.06.11-07.10.58:640][340]LogRHI: Display: Encountered a new compute PSO: 264292641 [2024.06.11-07.10.58:640][340]LogRHI: Display: Encountered a new graphics PSO: 1463043284 [2024.06.11-07.10.58:640][340]LogRHI: Display: Encountered a new graphics PSO: 4178391861 [2024.06.11-07.10.58:640][340]LogRHI: Display: Encountered a new graphics PSO: 2838305461 [2024.06.11-07.11.01:998][659]LogRendererCore: Warning: FlushRenderingCommands called recursively! 2 calls on the stack. [2024.06.11-07.11.18:709][659]LogAudioMixer: Warning: AudioMixerPlatformInterface Timeout [16699ms] waiting for h/w. InstanceID=1 Assertion failed: GraphicsContext [File:Runtime/RHI/Public/RHICommandList.h] [Line: 755] There is no active graphics context on this command list. There may be a missing call to SwitchPipeline(). [2024.06.11-07.11.28:984][659]LogAudioMixer: Warning: AudioMixerPlatformInterface Timeout [10275ms] waiting for h/w. InstanceID=1 [2024.06.11-07.11.28:984][659]LogAudioMixer: Display: Audio Buffer Underrun (starvation) detected. InstanceID=1

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

xxEoD2242 commented 5 days ago

This is a UE issue, not a Colosseum issue. Please make a report in the Unreal Engine repo.