-
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
Unreal exception while running AirSim #701
Comments
Could you please post call stack? Where the code is breaking? Also how you have been running AirSim? In recording mode or when calling APIs? |
Could you please provide information on what exactly you are doing? Are you pressing recording button and then pressing ESC key? Are you running any Python script? What is the version of Unreal Engine are you using? Please provide as much information as you can so we can reproduce this issue. |
We are running a modified python script based on the DQN_car.py you provided. The exception occurs when we leave the unreal window (without ending the session or the script) and do something in the background. While we are inside the Unreal window the exception never occurs. Our unreal version is 4.17.2. |
When you say "leaving Unreal window", do you mean you switch to different window or that do you press ESC key? Does this happen consistently every time? There is one known issue with recording functionality in 4.17 so I would suggest to use 4.16 for now. Another thing to try is uncheck "Use less CPU in background" setting. See the details here. |
I meant switch to a different window. It doesn't happen every time - it mostly happens after a several hours of work with the Unreal and the python script running combined. I will try using 4.16 and update again later, thank you. |
[I'm on the 4.16 - and that setting is unchecked] I'm experiencing the same problem. For me the error occurs pretty much randomly - sometimes after 2 hours sometimes after 10 hours of training. |
I've noticed the exception is thrown all the time in the RenderRequest.cpp so I wrapped the all thing in a try-catch block and it doesn't happen anymore. Unreal doesn't get stuck anymore either. It's a temporary patch that works well for me now - but I thought you should know, it looks like the source of our problem. |
This may have been caused by a race condition that was fixed in this pr. Please re-open if you are still experiencing this issue. |
We've encountered with the exception attached as a photo below:
We are not sure it is caused by AirSim but until now it only happened after running with AirSim for several hours - happened several times in the past few days , we couldn't identify yet if there is a specific action that causes it. Have you encountered this problem before?
The text was updated successfully, but these errors were encountered: