Skip to content
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

water foam and wave effects of the sea do not apply when in airsim mode #4517

Closed
bene-sim opened this issue May 9, 2022 · 6 comments
Closed

Comments

@bene-sim
Copy link

bene-sim commented May 9, 2022

Bug report

  • AirSim Version/#commit: v1.7
  • UE version: 4.26.2
  • autopilot version: computer vision
  • OS Version: WIN10

What's the issue you encountered?

water foam and wave effects of the sea do not apply when in airsim mode.

It is a sea environment purchased from the marketplace of Unreal Engine, and as shown in the image below, the effects of the sea are well applied in the basic gamemode, but the effects are not applied in the airsim mode. (The Sea Asset is made in blue print.)

Various effects work well when it is not in the air sim mode, but the effects disappear when the air sim mode is executed.
does anyone know how to solve same problem?

-ThirdPersonGameMode(basic gamemode)
일반모드10MB

-AirSimGameMode
에어심모드10MB

Settings

{
"SettingsVersion": 1.7,
"CameraDefaults": {
"CaptureSettings": [
{
"ImageType": 0,
"Width": 3840,
"Height": 2160,
"FOV_Degrees": 90,
"AutoExposureSpeed": 100,
"MotionBlurAmount": 0
}
]
},
"SimMode": "ComputerVision"
}

How can the issue be reproduced?

Set the game mode to the airsim mode in the sea environment and then start the game.

@jonyMarino
Copy link
Collaborator

@bene-sim, can you try commenting this line, and following the steps to build AirSim from source (build, upgrade_from_git etc.)?

@zimmy87
Copy link
Contributor

zimmy87 commented May 12, 2022

Hi @bene-sim, from looking at our AirSimGameMode, there's nothing that jumps out to me that could be causing the rendering of an effect like this to get disabled. The ThirdPersonGameMode you were using before isn't an engine class, so it may be doing some project-specific initialization of classes or variables that the wave effect depends upon. I would check the implementation of that class to see if it's doing anything that needs to be copied over to AirSimGameMode. Another possibility is that the wave effect isn't correctly configured to render in a cinematographic camera. We switched over to the CineCameraComponent in #3949, you try with a version that doesn't have that change applied (v1.6.0 or lower) to see if this is due to which camera we're using.

@bene-sim
Copy link
Author

bene-sim commented May 18, 2022

UE4.25 - airsim1.6
UE4.26 - airsim1.6
UE4.26 - airsim1.7
The list above has the same problem.
This is a new fact that not only the "airsim"mode but also the "functionaltestgame" mode has the same problem.

@bene-sim
Copy link
Author

bene-sim commented May 18, 2022

The problem with the picture below is originally a problem for this ocean.
I'm sorry for the confusion.
Therefore, I will delete it from the original text.
image

@jonyMarino
Copy link
Collaborator

@bene-sim Thanks for these new reports. Now it doesn't seem to be an AirSim issue. You would need to modify other game modes (including AirSim game mode) to get that plugin to work with them.

@jonyMarino
Copy link
Collaborator

Closed due to inactivity. Please, feel free to ask for it to be reopened if you wish to continue posting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants