コミュニティQ&A

Audiokineticのコミュニティ主導のQ&Aフォーラムへようこそ。ここはWwiseとStrataのユーザのみなさまがお互いに協力し合う場です。弊社チームによる直接のサポートをご希望の場合はサポートチケットページをご利用ください。バグを報告するには、Audiokinetic LauncherのBug Reportオプションをご利用ください。(Q&AフォーラムではBug Reportを受け付けておりませんのでご注意ください。専用のBug Reportシステムをご利用いただくことで、バグの報告が適切な担当部門に届き、修正される可能性が高まります。)

最適な回答を迅速に得られるよう、ご質問を投稿される際は以下のヒントをご参考ください。

  • 具体的に示す:何を達成したいのか、またはどんな問題に直面しているのかを具体的に示してください。
  • 重要な詳細情報を含める:Wwiseとゲームエンジンのバージョンやご利用のOSなど詳細情報を記載してください。
  • 試したことを説明する:すでに試してみたトラブルシューティングの手順を教えてください。
  • 事実に焦点を当てる:問題の技術的な事実を記載してください。問題に焦点を当てることで、ほかのユーザのみなさまが解決策を迅速に見つけやすくなります。

0 支持
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
Branden T. (140 ポイント) General Discussion
Any info on this?  I downloaded the latest integration past ours and it still has this issue.
Hi Branden, did you find a solution? We are attempting to build our game, and running into similar issues in 4.21/2018.1.1
Hi Jonathan.  Unfortunately the only solution I have is what I suggested above, by going into the source and adding initialization code to each of the default constructors.  The issue there might be that the default values I use aren't the most correct, so if the AK team has anything to say I'm all ears!
Right. This seems to be due to a new UE4 change, a new unit testing suite that checks for uninitialized variables in classes. At least it causes warnings, but won't be the cause of bugs. Still annoying to see hundreds and hundreds of errors when I build.

Please sign-in or register to answer this question.

...