-3

I just stumbled upon a question that was asked with the tags and . This question was closed as "Needs details or clarity" by people who are clearly experienced in C++ but not Unreal Engine. I answered a question before that was exactly like that, but now that the given question is closed already, I can't mark it as a duplicate, as it should be. What is the correct way to handle this?

I thought about messaging a moderator about it, but this usually leads to "stop misusing the message moderator feature" and also, even if they mark it as a duplicate, it deters from the whole "voting to close" feature.

I thought about Reopening the question, just so I can flag it again as a duplicate (if that's even possible).

I resorted to actually comment on the closed question and write this question instead, because it would be interesting to know how to handle situations like this, where questions get closed by people who clearly lack information (thus voting to close for that reason) when a person who is more familiar with the topic actually has an answer that already exists on another question.

For context, this is the question and this is my suspected duplicate.


Edit: To clarify this issue and shed some light into why I believe this is a duplicate and why this cannot be properly judged by someone who is very proficient in C++ but has no experience with Unreal Engine:

tl;dr: The issue is an IDE configuration, because the IDE can't deal with the way Unreal works out of the box. The best thing the user can do is to either change settings in the IDE or resort to other software to mitigate this issue. The questions likely have the same issue and therefore the same solution provided in the question I want to provide as the duplicate close reason.

Long version:
This issue arises with Visual Studio when it tries to interpret the provided code in a proper manner. However, due to the way Unreal is built, part of the code is generated as part of the build process based on the macros that are underlined in the question that I believe is a duplicate. These macros don't do anything really and just confuse the IDE as they are meant as information for a code generator that runs as part of the build process.

In the duplicate question that have an accepted answer written by me, the user had a similar issue that also happens because Visual Studio cannot properly analyze the code. The errors may look different (or may not happen at all) but they all come from Visual Studios IntelliSense trying to understand the code and provide warnings and errors ahead of compiling. However, because it doesn't compile the code properly (it's missing information that is either generated or dismissed during compilation), it likely cannot make sense of the code at all. Therefore, the issue is the same, so the cure is the same.

If the user wants to have a different (and better) experience, they may as well switch to another IDE like JetBrains Rider or install a plugin like Visual Assist that can handle Unreal Engine better. But most people will use Unreal Engine with vanilla Visual Studio first as it is recommended by Epic Games and therefore a lot of people that create a new project will likely see the same issue with the IDE having its default settings.

As SO is a Q&A site, linking to a probably correct duplicate may help people who search for similar issues more than just closing them with "not enough information" which the new user likely cannot provide as they don't know about this unique behavior. This is my stance and therefore I still think it is a duplicate and should be marked as such, however, I added my comment below it and hope this is enough for the person asking the question to work with and help people who find this question.

Regarding a missing MCVE: The authors of both questions state that they created an (empty) Unreal Engine Project, opening the projects code in Visual Studio and not changing anything on it. This is a known issue with Unreal Engine code and reproducible. See Example 1, Example 2, Example 3 and Epics own advice.

9
  • 12
    If it needs details or clarity and is a dupe, it's usually not worth the time to switch the close reason, largely because dupes need to be evaluated as a separate reason. Link it in a comment instead - there isn't a point in using votes or mod time to switch close reasons Commented Aug 12 at 19:24
  • 3
    Is it a good sign post? currently it states there's errors, shows a screenshot of squiggly lines, but doesn't actually define what error is occurring where/why.
    – Kevin B
    Commented Aug 12 at 19:25
  • 1
    I'm not sure it makes a good sign post. Most of the important content is in a near-unsearchable image. Commented Aug 12 at 21:16
  • "This question was closed as "Needs details or clarity" by people who are clearly experienced in C++ but not Unreal Engine" - clear to you... because you commit to the sin of assumption making.
    – Gimby
    Commented Aug 13 at 7:59
  • @Zoe-Savethedatadump thank you, that's what I did and what I will do in the future.
    – Max Play
    Commented Aug 13 at 18:30
  • 1
    @Zoe-Savethedatadump Has the guidance changed, or is it different for SO now? Per this global meta FAQ post (second-last paragraph), if a question is closed for a non-duplicate reason, none of the non-duplicate reasons apply to the question, and a duplicate exists, the close reason should be changed to duplicate so future visitors are routed to an answer instead of being stuck. See also this discussion there which the FAQ links to.
    – gparyani
    Commented Aug 13 at 21:49
  • @gparyani Your link does not apply in this case. The post you linked states "Note, however, that if the duplicate close reason applies and none of the others do, [...]" (emphasis mine); both unclear and no MCVE (though the latter is more accurate) apply here Commented Aug 13 at 22:08
  • @Zoe-Savethedatadump Oh, sorry. I read the penultimate paragraph of this question as "it's not unclear to someone who knows the topic area". Still, however, even if it were the case, is it the guidance still being upheld today?
    – gparyani
    Commented Aug 13 at 22:13
  • 1
    @gparyani If it's a high-quality signpost, yes. Those are very rare in practice though Commented Aug 13 at 22:58

0

You must log in to answer this question.

Browse other questions tagged .