I was making a tutorial for my VR game(HTC VIVE), and UE4 totally crashed more than 100 times and summed up the following experience:
- Using a sequencer camera in a VR project has a 70-80% chance of crashing;
- 50-60% chance of crashing using media player in VR projects;
- In the VR project using both the sequencer control camera and the media player, have 90-95% probability of crashing!
The cause of the problem and solutions:
- The reason according to the 100 times crash experience, I guess is the UE4 Engine can not immediately load sequence and media player, so the Engine crashed. Currently, there is no solution, I hope someone can help me. The only way to improve to avoid this is that if two different events are executing, adding a little delay before playing sequence or media player, but there is no direct way to avoid crashes.
Notice:
- Although this crash may not affect the final packaged game, but as a user of the UE4 engine it is extremely painful!
Suggest:
- I am a blueprint user, so I cannot improve this crash. However, I suggested that can make a node for detecting the loading of any kind of resources, it may be added before all such contents that may need to be load to determine whether it can be executed smoothly.
Each crashed file has the following hint:
Log file open, 01/11/18 00:59:53
LogWindows: Failed to load 'aqProf.dll' (GetLastError=126)
LogWindows: File 'aqProf.dll' does not exist
LogWindows: Failed to load 'VSPerf140.dll' (GetLastError=126)
LogWindows: File 'VSPerf140.dll' does not exist
LogWindows: Failed to load 'VtuneApi.dll' (GetLastError=126)
LogWindows: File 'VtuneApi.dll' does not exist
LogWindows: Failed to load 'VtuneApi32e.dll' (GetLastError=126)
LogWindows: File 'VtuneApi32e.dll' does not exist
LogInit: Display: Running engine for game: VRCubeWorldBP1
LogPlatformFile: Not using cached read wrapper
LogInit: Display: RandInit(-1151321406) SRandInit(-1151321406).
LogInit: Read version file with build ID '3709383'
LogInit: Overriding engine version to CL 3794801, compatible CL 3709383
LogInit: Registered custom module enumerator with build ID '3709383'
LogTaskGraph: Started task graph with 5 named threads and 26 total threads with 3 sets of task threads.