I am trying to update a plugin to version 5.7 and like the title mentions the plugin is including the DisplayClusterViewport_OverscanSettings.h header from nDisplay. I get an error saying that it cannot find Math/MarginSet.h, is that because it’s in the Internal folder ? Is this a bug ? If I understand correctly what’s in the internal folder is only intended to be included by files within the module and it shouldn’t be used by public files. Any guidance would be appreciated.
Steps to Reproduce
Hi Josh,
Thank you for reporting this issue. This seems like an oversight from the developer, who probably didn’t realize that a public header was now including a private/internal one. For now, you can try to expose the private header yourself to get rid of the compilation error. The change was made by CL 44773085, in case you want to try to revert it or to use an engine version prior to it.
I filed an internal bug report for this, here’s the tracking number: UE-340634. The link should become accessible once the engine devs mark it as public.
Let me know if you need any further assistance.
Best regards,
Vitor
Hi Vitor thanks for confirming. I got it working by just moving that file to the Public folder, is that what you meant by expose ? I tried explicitly including it in the build.cs file but that didn’t do anything.
Yes, moving it to the Public folder is what I’d do as well. “Public”/“Classes” folders are exposed as includepaths by default, while “Private”/“Internal” are hidden by default. Not really sure about how overridable this behavior is, so moving the file seems appropriate.