Just googled that error and seems to be a common error code on playstation.
Perhaps its not directly related to the game?
If you see 'An error has occurred in the following application (CE-34878-0)' when you are playing games on PS4 and cannot go on, you can try some effective fixes to solve the problem.
www.easeus.com
Read through this article and see whether any of those steps resolve your issue.
Also considering its a pretty demanding game, console isnt overheating and isnt placed in enclosed environment, not allowing much of airflow?