UE5 is crashing due to the error in the code that has been already removed

I had a crash in Unreal Engine 5. I checked the Crash Reported, I removed the incorrect code and tried to boot the Unreal Engine, but then the sam crash occurred, even though the issue was removed.
I tried to Clean the Project (Remove Intermediate and Saved folders), Generating project files, Rebuild the project, reset the PC, but after all Unreal Engine is still crashing due to the code that has been already removed.
Crash screen:


Code screen:

Do you have any suggestions how to fix this issue?

Do you have Blueprint based on your c++ class? try to remove BP and create it again.

Yes @32_4, I have BP based on that c++ class. I removed it and tried again (with and without generating files) and it didn’t work, still same issue.

  1. delete intermediate and binaries folders.
  2. regenerate the project.
  3. rebuild
  4. and try again.
    does it still happen?
1 Like

@nande Thank You, that worked!

1 Like

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