Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. Contact Sales if your project requires a support plan.

Initialization Warnings for UE4 Engine Plugin 2018.1.4.6807.1189 in 4.21 ( and possible fix ).

0 votes
Howdy!

Recently my team has upgraded to the latest ( at the time ) release of the UE4 engine plugin integration for Wwise, with UE4 v 4.21.

After the integration, I've noticed some warnings that appear all the time.  These warnings happen with a brand new project as well, so it's not just the upgrade:

LogClass: Warning: FAkMidiEventBase::Type is not initialized properly
LogClass: Warning: FAkMidiEventBase::Chan is not initialized properly
LogClass: Warning: FAkMidiProgramChange::ProgramNum is not initialized properly
LogClass: Warning: FAkMidiChannelAftertouch::Value is not initialized properly
LogClass: Warning: FAkMidiNoteAftertouch::Note is not initialized properly
LogClass: Warning: FAkMidiNoteAftertouch::Value is not initialized properly
LogClass: Warning: FAkMidiPitchBend::ValueLsb is not initialized properly
LogClass: Warning: FAkMidiPitchBend::ValueMsb is not initialized properly
LogClass: Warning: FAkMidiPitchBend::FullValue is not initialized properly
....

And so on.  About 36 warnings in total.  I took a look at the classes in question, and UE is right, these have default constructors written with no initializer list or default values assigned.  Is this intentional?  If so, when can I expect these warnings to be fixed in a future update?   I'm currently going through and rewriting the default constructors to have initializer lists, since our cook process treats all warnings as errors for this particular project.  

Example:

FAkMidiEventBase(){}
changed to

FAkMidiEventBase()

: Type(EAkMidiEventType::AkMidiEventTypeInvalid)

, Chan(0)

{}

Fixes the warnings:
LogClass: Warning: FAkMidiEventBase::Type is not initialized properly
LogClass: Warning: FAkMidiEventBase::Chan is not initialized properly

Thanks,
Branden Turner
WDI
asked Feb 4 in General Discussion by Branden T. (100 points)
Any info on this?  I downloaded the latest integration past ours and it still has this issue.

Please sign-in or register to answer this question.

...