Set TargetLocation in Gameplay Camera System but crashed

Hi, I’m using the new Gameplay Camera System and encountered an issue. Here is what I did:

  1. Create a CameraVariableCollection and a Vector3d Variable named ‘CameraTargetLocation’ to cache the target’s location:
  2. In the Camera Asset I use, I bind my Panning Framing node’s parameter to this variable:
  3. In my Character Blueprint, I get the target location and set the value of the CameraTargetLocation. It’s a very quick test to check the workflow but the editor just crashed with the Exception: StackOverFlow.

Question: Did I do something wrong? What is the correct way to set TargetLocation in Gameplay Camera System? Thank you.

I just create a new project and do the same workflow, it worked well.
After recreated the CameraAsset, I finally figured out the reason:

  • Before the PanningFraming Node, I use a FilmBack Node, set a SensorWidth and set the bool ‘Constraint Aspect Ratio’ to true
  • Apparently this constraint is not compatible with the logic of PanningFraming and will cause a crash, which I believe is a BUG
  • if I remove the FilmBack Node or move it to after the PanningFraming Node, everything is just fine