for some reason with my new project I’m working on at the moment, i’ve found it will run the VR Preview the first time no problem, but when I go to run it a second time it crashes. After it’s reopened the project it will once again work the first time but crash the second.
(Can’t put this into a comment due to character limit)
Seems like I ran into a similar issue with 4.18.3, Oculus and a Render Target.
When spawning a CameraMesh that has a RenderTarget attached, it will crash with this log:
Strangely I am not, I have since found what makes it crash like this but still not why.
I found that If I removed the Light Scenario I had then it would be fixed. I had a simple Day and Night Light Scenarios. When I removed them and baked normally it runs and compiles fine.
Similarly, my Unreal Editor (v4.19) was crashing when running VR Preview every 2nd time.
Issue:
The source of the issue, in my case, was having in the “Project Settings” the “Default Game Mode” set to a game mode which was used for the default game level in multiplayer environment, meaning it was trying to set up a server/client environment.
Solution:
Edit “DefaultEngine.ini” and modify the line “GlobalDefaultGameMode=[yourGameMode]” to “GlobalDefaultGameMode=None”, or whichever other game mode which would not crash the VR-Preview.
Hello,
Today I packaged a heavy game and the “second” time that I wanted to run it it crashed. (D3D error)
My only option was to restart my PC. Then again, I could only open it once till I restarted the machine again.
Then I realized if I exit epic games on the “system tray” I can run my game for as many times as I want without having to restart my computer. cheers.
I already have VR Preview game mode there. Strangely, I set it to None before starting the editor. Then started the editor, set the VR Preview mode and then it worked during that session, no crashes. I tried to do the same way again later - no luck. Still crashes.