I start the engine, I start the level, the engine crashes.
I have 3 levels. 1) with a full game location; 2) test location; 3) main menu. the third location starts, but when switching to another location (the first one), the engine crashes. (the second location does not start either)
So what that error means is, basically, “File not found.”
This typically happens when a file is moved using windows explorer instead of in the content browser within UE5. It can also happen when a file is made and not saved, or when a file is called upon incorrectly.
I have also seen people have this solved when this happens while booting by updating their drivers or resetting their Nvidia graphics to default settings!
Do you recall at what point this issue first began? (What changes or additions you made to the project just before the crashes started?) Any new plugins or file add/remove in the project folder, etc?
Yes. I made night vision devices according to the instructions, changed their color, started the game, looked at what night vision devices look like, and so on every time until the color of the night vision devices suits me. Then suddenly my character was hanging in the air and couldn’t do anything. I restarted UE5, and when I already start the game, it crashes.
Has the skeletal mesh of the character in game been aligned with the bottom of the collision capsule? If it were me, I’d would also consider temporarily removing the night vision devices from the folder and UE and sticking them in a folder on my desktop or something. If the project runs fine after that, I’d look into what I may have did wrong with the night vision devices. (Or re-do them) Worst case scenario, I’d consider migrating the files over to a new/blank project to test there, assuming it isn’t a super large project.
So for this, the problem is your event update animation is running and trying to use the movement component before the character initialization is finished and the movement component variable is set.
Try putting an “IsValid” check after the check for the character, and pass in the movement component variable!
That way, it can’t try to call on the movement component unless it is already set!
But that shouldn’t cause the engine to crash, that should only take effect when running the game.
i am having this same error since i first downloaded UE5 and not once have been able to run it. I’ve tried these options and it does not seem to fix the problem.
On to the game crash, did you run the Unreal Engine verification, make sure to update your video drivers, and open command prompt and type /sfc scannow and press enter?