I can not find the C++ class I created inside the UE5 editor and live code error

First I created a ShooterCharacter C++ Class in the UE5 and the files loaded into rider but the class itself does not show up in the contents panel.

Also when I compile with live code I get this error

ERROR: Unable to patch action graph - unexpected executable in compile action (C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64\rc.exe)

I made sure I installed this version of SDK from VS community 2022 .
Also rider stopped compilling displaying many errors like this:

EpicGames.Core.Win32ExceptionWithCode (740): Unable to create process (code 0x000002E4)

Everything related to Microsoft has many problems. :frowning:

tried this solution but did not work

Could you show the full output of that error log and from compiling from Rider?

Thanks alot

I tried like 7 times delete the whole project and created again finally now it work and can compile…

I get it again now when I create new C++ class

--------- Creating patch ----------
Running C:\Program Files\Epic Games\UE_5.0\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.exe -Target=“MyShooterEditor Win64 Development -Project=”“C:/Unreal/SShooter/MyShooter/MyShooter.uproject”"" -LiveCoding -LiveCodingModules=“C:/Program Files/Epic Games/UE_5.0/Engine/Intermediate/LiveCodingModules.txt” -LiveCodingManifest=“C:/Program Files/Epic Games/UE_5.0/Engine/Intermediate/LiveCoding.json” -WaitMutex
Log file: C:\Users\myuser\AppData\Local\UnrealBuildTool\Log.txt
ERROR: Unable to patch action graph - unexpected executable in compile action (C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64\rc.exe)
Build failed.

From google I found a topic in Unreal forums from 2017 about the C++ classes not showing in Content browser !! How I learn an engine like this full of bugs never fixed.

Solution I found today is to rebuild the solution using VS 2022 while the editor is closed then after the build finish I open the editor and find the vanshed classes.

1 Like

That’s not a bug. The Unreal editor doesn’t show C++ files, it shows compiled code. You didn’t successfully compile so they aren’t shown.

3 Likes

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

Privacy & Terms