Lyra Starter Game, UE 5.0.1, VS 2019, Immediate compile errors

Following up on this, after trying a few different configuration (and sending a few crash reports — again, plain tools, no local changes) I’ve gotten live coding in Lyra to work.

  • Yes, I had to install Visual Studio 2022. I had to open it up and make sure a dummy hello world C++ project could be made/built.
  • Then I selected Visual Studio 2022 in the project settings (it defaults to auto-switcher Visual Studio, which might still choose 2019)
  • Then I did a Build Project (without live coding) in the UE5 editor, which completed.
  • Then I quit the UE5 editor.
  • Then I had to right-click the .uproject in the Content folder, and select “generate visual studio project,” because the projects weren’t generated
    already. (“Build project” apparently goes straight to each vcxproj, rather than calling msbuild at top-level.)
  • Then I had to open up the sln and ctrl-B it in Visual Studio.
  • Then I opened the UE5 editor again, and enabled live coding, and pressing the compile/reload button worked.

One or two of these steps may not be necessary, but at least, if someone else runs into this problem, and finds this thread, they should be able to repeat these steps. Thanks for the help!

7 Likes