Error when creating the Actor MovingPlatform

Hello,
My project is in Unreal 5.1 and I am using Visual Studio Enterprise 2022.
When Creating the c++ actor I receive the next message:
"Successfully added class ‘MovingPlatform’, however you must recompile ‘ObsRace’ module before it will appear in the Content Browser. Failed to generate project files.
Would you like to open the Output Log to see more details?

And then I can’t open again the project.

The only problematic part of the log I see is:

Discovering modules, targets and source code for project…
Available x64 toolchains (3):

  • C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.29.30133
    (Family=14.29.30133, FamilyRank=0, Version=14.29.30151, Is64Bit=True, Preview=False, Architecture=x64, Error=False)
  • C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933
    (Family=14.34.31933, FamilyRank=2, Version=14.34.31946, Is64Bit=True, Preview=False, Architecture=x64, Error=False)
  • C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.30.30705
    (Family=14.30.30705, FamilyRank=2, Version=14.30.30715, Is64Bit=True, Preview=False, Architecture=x64, Error=False)
    Unable to find valid 14.29.30136 toolchain for VisualStudio2022 x64

Do you have MSVC x64 v14.33 - 17.3 installed?

I didn’t I just installed but the issue persists. The error now says:
Available x64 toolchains (4):

  • C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.29.30133
    (Family=14.29.30133, FamilyRank=0, Version=14.29.30151, Is64Bit=True, Preview=False, Architecture=x64, Error=False)
  • C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.33.31629
    (Family=14.33.31629, FamilyRank=1, Version=14.33.31631, Is64Bit=True, Preview=False, Architecture=x64, Error=False)
  • C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.36.32532
    (Family=14.36.32532, FamilyRank=2, Version=14.36.32537, Is64Bit=True, Preview=False, Architecture=x64, Error=False)
  • C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.30.30705
    (Family=14.30.30705, FamilyRank=2, Version=14.30.30715, Is64Bit=True, Preview=False, Architecture=x64, Error=False)
    Unable to find valid 14.29.30136 toolchain for VisualStudio2022 x64

So it looks like stills not finding it

Do you get the same issue with UE5.2?

Yes, exactly the same error code

Have you tried repairing your VS install?

Yes, I actually uninstall and reinstall everything and still happening.

That’s strange, have you tested the community version to see if it’s the Enterprise edition specifically that’s the issue?

Same issue,
I uninstall everything of epic too, install visual studio community version. Restart my computer download epic launcher and unreal and same issue:

For reference this is what I have installed

Yep I uninstall and reinstall everything as you have this is the result :frowning: :

Can you check if this looks the same in yours? Looks like mine only checks for version 17.4
\UE_5.2\Engine\Source\Programs\UnrealBuildTool\Platform\Windows\MicrosoftPlatformSDK.Versions.cs

This is what I have

image
with this min

Ok, I fixed it in a really awkward manner…
I went to:C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC
And change the name of the folder 14.29.30133 to 14.29.30136

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms