A licensee wants to enforce YFov constraint for a game project by setting AspectRatioAxisConstraint=AspectRatio_MaintainYFOV in the config.
However during playing the sequence, the value of AspectRatioAxisConstraint is forced to be AspectRatio_MaintainXFOV in ULevelSequencePlayer::UpdateCameraCut function, and it keeps the AspectRatio_MaintainXFOV value for the game thereafter.
1 Adding the following to DefaultEngine.ini:
[/Script/Engine.LocalPlayer]
AspectRatioAxisConstraint=AspectRatio_MaintainYFOV
2 Create a map, add a level sequence and add a new camera track to the sequence
3 set the sequence to auto play and launch the game
Results: Before playing the sequence, the AspectRatioAxisConstraint for local player is AspectRatio_MaintainYFOV as configured.
After playing the sequence, the AspectRatioAxisConstraint for local player is changed to AspectRatio_MaintainXFOV.
Expected Result: AspectRatioAxisConstraint for local player is always AspectRatio_MaintainYFOV as configured, during and after playing the sequence.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-76517 in the post.
| 0 |
| Component | UE - Anim - Sequencer |
|---|---|
| Affects Versions | 4.22.0 |
| Target Fix | 4.24 |
| Created | Jun 19, 2019 |
|---|---|
| Resolved | Aug 6, 2019 |
| Updated | Nov 14, 2019 |