Opening File from File Explorer (no plugins)

Trying to use the OpenFileDialog (or any other build in functionality) to open a file dialogue and then read in file contents. The reading in of the file works. However, when I use this dialog function, the file path that results is relative, containing “../../../../../../”, and this seems to not work for the Open function I have. Can someone help me either:

  1. Find a way to use this OpenFileDialog function (or if there is another system I can use)
  2. Fix the resulting path to not be relative
  3. Or if there is just an issue in this code, let me know

Hey there, I suggest using the FPaths::ConvertRelativePathToFull function on the output.