Fatal error and strange message

Finally finished my UE5 project and managed to export it, when play-testing it I received a fatal error resulting in the game crashing and closing.

The weird thing is that the description on the error message makes reference to something breaking in a specific direction that I don’t recognize and can’t find it.

This is the image of the error
Capture

Look at the logs in the Saved directory.

It seems to have something to do with the garbage collector.

Perhaps you forgot to add a UPROPERTY macro above a parameter that is referenced somewhere else and it turned up null after being garbage collected?

This could cause a null pointer exception causing a crash.

Thanks for the replay but can you let me know how to access this Garbage Collector and its logs? The direction on the error message doesn’t exist in my pc so I don’t know how to check it

The garbage collector is a process. It doesn’t have logs as it’s just supposed to clean up old objects and release memory.

If there was a crash then inside of your packed game you should have a directory called saved and inside that directory there should be one called logs.

Thanks for the help, after checking the logs I came across the lines where the issue was reported on. Had to do some deep digging but found out that for some reason a cinematic I did animating a Skeleton Mesh was causing the problem, resolved the issue deleting it.

1 Like