Questions et réponses de la communauté

Bienvenue sur le forum de questions et réponses d'Audiokinetic, propulsé par la communauté. C'est l'endroit où les utilisateurs de Wwise et Strata s'entraident. Pour obtenir une aide directe de notre équipe, veuillez utiliser la page « Tickets de soutien ». Pour signaler un bug, utilisez l'option Bug Report dans l'Audiokinetic Launcher. (Veuillez noter que les rapports de bug soumis au forum questions-réponses seront rejetés. L'utilisation de notre système de rapport de bug dédié garantit que votre rapport est vu par les bonnes personnes et a les meilleures chances d'être corrigé.)

Pour obtenir rapidement les meilleures réponses, suivez ces conseils lorsque vous posez une question :

  • Soyez précis : qu'essayez-vous de réaliser ou quel est le problème spécifique que vous rencontrez ?
  • Pensez à inclure les détails importants : incluez des détails tels que les versions de Wwise et du moteur de jeu, le système d'exploitation, etc.
  • Expliquez ce que vous avez essayé de faire : indiquez aux autres les mesures que vous avez déjà prises pour essayer de résoudre le problème.
  • Concentrez-vous sur les faits : décrivez les aspects techniques de votre problème. Se concentrer sur le problème aide les autres personnes à trouver rapidement une solution.

0 votes

The default enabled UE4 Wwise integration's "Auto Connect WAAPI" is causing us crashes running packaged builds (Wwise 2019.2.4 + UE 4.25)


Packaged development builds CTD on opening Wwise. No crash screen, crash/other logs. VS callstack showed WAAPI was the culprit 

Is this a known issue? Something that has been patched? Or to do with our project configuration?
Disabling the WAAPI auto connect fixes the problem.

Callstack below.
 

rapidjson::MemoryPoolAllocator<class rapidjson::CrtAllocator>::Malloc(unsigned __int64)	C++
 	rapidjson::GenericValue<struct rapidjson::UTF8<char>,class rapidjson::MemoryPoolAllocator<class rapidjson::CrtAllocator> >::SetObjectRaw(struct rapidjson::GenericMember<struct rapidjson::UTF8<char>,class rapidjson::MemoryPoolAllocator<class rapidjson::CrtAllocator> > *,unsigned int,class rapidjson::MemoryPoolAllocator<class rapidjson::CrtAllocator> &)	C++
 	rapidjson::GenericDocument<struct rapidjson::UTF8<char>,class rapidjson::MemoryPoolAllocator<class rapidjson::CrtAllocator>,class rapidjson::CrtAllocator>::EndObject(unsigned int)	C++
 	rapidjson::GenericReader<struct rapidjson::UTF8<char>,struct rapidjson::UTF8<char>,class rapidjson::CrtAllocator>::ParseObject<0,struct rapidjson::GenericStringStream<struct rapidjson::UTF8<char> >,class rapidjson::GenericDocument<struct rapidjson::UTF8<char>,class rapidjson::MemoryPoolAllocator<class rapidjson::CrtAllocator>,class rapidjson::CrtAllocator> >(struct rapidjson::GenericStringStream<struct rapidjson::UTF8<char> > &,class rapidjson::GenericDocument<struct rapidjson::UTF8<char>,class rapidjson::MemoryPoolAllocator<class rapidjson::CrtAllocator>,class rapidjson::CrtAllocator> &)	C++
 	rapidjson::GenericReader<struct rapidjson::UTF8<char>,struct rapidjson::UTF8<char>,class rapidjson::CrtAllocator>::ParseObject<0,struct rapidjson::GenericStringStream<struct rapidjson::UTF8<char> >,class rapidjson::GenericDocument<struct rapidjson::UTF8<char>,class rapidjson::MemoryPoolAllocator<class rapidjson::CrtAllocator>,class rapidjson::CrtAllocator> >(struct rapidjson::GenericStringStream<struct rapidjson::UTF8<char> > &,class rapidjson::GenericDocument<struct rapidjson::UTF8<char>,class rapidjson::MemoryPoolAllocator<class rapidjson::CrtAllocator>,class rapidjson::CrtAllocator> &)	C++
 	rapidjson::GenericReader<struct rapidjson::UTF8<char>,struct rapidjson::UTF8<char>,class rapidjson::CrtAllocator>::ParseArray<0,struct rapidjson::GenericStringStream<struct rapidjson::UTF8<char> >,class rapidjson::GenericDocument<struct rapidjson::UTF8<char>,class rapidjson::MemoryPoolAllocator<class rapidjson::CrtAllocator>,class rapidjson::CrtAllocator> >(struct rapidjson::GenericStringStream<struct rapidjson::UTF8<char> > &,class rapidjson::GenericDocument<struct rapidjson::UTF8<char>,class rapidjson::MemoryPoolAllocator<class rapidjson::CrtAllocator>,class rapidjson::CrtAllocator> &)	C++
 	[Inline Frame] rapidjson::GenericReader<rapidjson::UTF8<char>,rapidjson::UTF8<char>,rapidjson::CrtAllocator>::Parse(rapidjson::GenericStringStream<rapidjson::UTF8<char>> &) Line 408	C++
 	rapidjson::GenericDocument<rapidjson::UTF8<char>,rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>,rapidjson::CrtAllocator>::ParseStream<0,rapidjson::UTF8<char>,rapidjson::GenericStringStream<rapidjson::UTF8<char>>>(rapidjson::GenericStringStream<rapidjson::UTF8<char>> & is) Line 1821	C++
 	[Inline Frame] rapidjson::GenericDocument<rapidjson::UTF8<char>,rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>,rapidjson::CrtAllocator>::Parse(const char *) Line 1886	C++
 	[Inline Frame] rapidjson::GenericDocument<rapidjson::UTF8<char>,rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>,rapidjson::CrtAllocator>::Parse(const char *) Line 1885	C++
 	[Inline Frame] rapidjson::GenericDocument<rapidjson::UTF8<char>,rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>,rapidjson::CrtAllocator>::Parse(const char *) Line 1885	C++
 	AK::WwiseAuthoringAPI::session::got_msg(const std::string & jsonPayload) Line 654	C++
 	AK::WwiseAuthoringAPI::WebSocketClient::OnMessage(mg_connection * conn, int flags, char * data, unsigned __int64 data_len, void * user_data) Line 53	C++
 	read_websocket(mg_connection * conn, int(*)(mg_connection *, int, char *, unsigned __int64, void *) ws_data_handler, void * callback_data) Line 9560	C++
 	websocket_client_thread(void * data) Line 13171	C++
 	[External Code]	
dans General Discussion par Alec Brady (700 points)
Thanks for the report, this is not a known issue. Is there a way you could provide the content of the message data from the stack frame at:

AK::WwiseAuthoringAPI::WebSocketClient::OnMessage(mg_connection * conn, int flags, char * data, unsigned __int64 data_len, void * user_data) Line 53
It would also be useful to see the content of jsonPayload as passed to AK::WwiseAuthoringAPI::session::got_msg.
Unfortunately I won't be able to test soon because it was critical to get QA up and running again testing packaged builds/wwise profiling.

Was 100% repro though. I can update when I do it again.

Please sign-in or register to answer this question.

...