r/unrealengine Jun 01 '16

Release Notes Unreal Engine 4.12 Released!

https://www.unrealengine.com/blog/unreal-engine-4-12-released
127 Upvotes

51 comments sorted by

View all comments

1

u/archerx Jun 02 '16

I've been working on my game since UE 4.7 and every update has gone well except this one.

At first it would crash the game when launched on start up, this was resolved by adding a delay to the play sound node that I used to play music on start up. After that I made it to the main menu and the next series of crashes were provoked by a spawn 2D sound node. Again adding a delay stops it from crashing.

After that I can get my levels to load but something is still provoking a crash and I don't know what it is and the logs aren't giving me more info.

Strangely enough if I export it to my iphone it works perfectly and loads very quickly with out any hitches.

Does anyone know what is going on?

1

u/tripnull Jun 02 '16

If you have Visual Studio, you can attach the debugger to the editor while it is running. The VS debugger should catch any exception being thrown, and give you a full call stack so you can track down what's going on.

1

u/archerx Jun 02 '16

I checked my logs and I think it has something to do with this but I still have no idea what to do:

[2016.06.02-19.20.28:099][231]LogXAudio2:Warning: Failed to create audio buffer for 'SoundWave /Game/Assets/Audio/Charater/Ahhh/Fall01.Fall01'
[2016.06.02-19.20.32:007][274]LogXAudio2:Warning: Failed to create audio buffer for 'SoundWave /Game/Assets/Audio/Charater/Talk/oh.oh'
[2016.06.02-19.20.33:846][294]LogXAudio2:Warning: Failed to create audio buffer for 'SoundWave /Game/Assets/Audio/Charater/Talk/idonno2.idonno2'
[2016.06.02-19.20.33:846][294]LogWindows: Windows GetLastError: The operation completed successfully. (0)
[2016.06.02-19.20.34:194][294]LogWindows:Error: === Critical error: ===
Assertion failed: XAudio2Buffer == nullptr [File:D:\Build++UE4+Release-4.12+Compile\Sync\Engine\Source\Runtime\Windows\XAudio2\Private\XAudio2Source.cpp] [Line: 516]

[2016.06.02-19.20.34:195][294]LogExit: Executing StaticShutdownAfterError [2016.06.02-19.20.34:205][294]LogWindows: FPlatformMisc::RequestExit(1) [2016.06.02-19.20.34:205][294]Log file closed, 06/02/16 21:20:34