#Creating cpp actor error

1 messages · Page 1 of 1 (latest)

unreal lichen
#

I'm stuck at lesson 39: Actor Creation. When i try to create a new c++ actor, i get the error: Successfully added class 'Item', however you must recompile the 'Udemy_crash' 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?
[11:59 AM]
how does one recompile the module?
[11:59 AM]
it also causes my project to no longer open if i close.

lapis sable
#

It is exactly my problem right now. Could you find any solution? @unreal lichen I am totally stuck and I can't open my project anymore. 😦

When I created my C++ actor, UE told me I successfully created the actor and I need to recompile** but it didn't launch Visual Studio** like it did in the lecture video.

What I did so far:

I closed the project on UE and opened all cpp files and hit ctrl+F5. After I closed my project I could never open it on UE again.

When I manually go to the location of the files and open them in Visual studio, they open but** I can't see the whole project in Solution Explorer**. It says Miscellaneous Files on the top.

Since I can't open the project anymore I opened a different one and changed Source setting on Editor Preferences. Tried both Visual Studio and Visual Studio 2022. Neither of them worked.

inner summit
#

i had same problem Check the code and Build using ctr + b the project, solve the Errors it will work its code errors

#

go to this post [Resolved] Section 65 Help in Enhanced Input Build error youtube video

lapis sable
#

This worked like a miracle!! Thank you soo much! 🥳 😊