버전
menu_open

Profiling Tips and Best Practices

Before using the Game Profiler in Wwise, you may want to review the following sections, which provide you with a series of tips and best practices that can help you profile and troubleshoot the different aspects of your game.

Game Profiler Performance

Because of the potentially large amount of data being transferred, capturing from the sound engine may affect Wwise's performance. Therefore, you may want to limit the type of information that is being generated by the Advanced Profiler by using the Profiler Settings dialog box. By deselecting one or more the information types, you can:

  • Save network transfer bandwidth.

  • Save memory space in Wwise.

  • Save CPU time in game by not calculating the data.

  • Save CPU time in Wwise by not processing or drawing the data.

Monitoring Performance While Capturing

If you want to monitor the performance while you are capturing data from the sound engine, you must select the Follow Capture Time option. If you don't select this option, after a short period of time, none of the views in the Profiler will seem like they are being updated and it will appear as if no information is being captured. If you forget to select the Follow Capture Time option, you can always scroll through the captured data by dragging the Performance Monitor time cursor (white) to a specific location on the graph. As you drag the time cursor, the other views in the Profiler will update automatically.

Troubleshooting Remote Connection Issues

  • If you try to connect Wwise to your game, but the computer/console does not appear in the Remote Connections dialog box, verify the following:

    • The Communications module is properly initialized in your game. For more information, refer to the "Initializing Communications" section of the Wwise SDK documentation.

    • The same port number is specified for the "Game Discovery Broadcast Port" in your project settings and in the AkCommSettings structure used in your game to initialize communications. For more information, refer to Specifying Network Ports and the "Initializing Communications" section of the Wwise SDK documentation.

    • The computer/console is properly connected to the network. Note that some consoles have multiple network adapters, including one for debugging and one for regular network traffic. Make sure to connect all of them before trying to re-connect from Wwise.

    • The computer/console is on the same subnet as the computer running Wwise.

    • An active firewall is blocking the connection. If you have an active firewall on the computer running Wwise, try disabling it to see if the firewall is blocking the connection. If that works, try adding the Wwise application to the list of exceptions in your firewall (refer to your firewall's documentation for instructions). If you need to change the ports used for Wwise communication (including using fixed ports instead of dynamic ports), refer to Specifying Network Ports and the "Initializing Communications" section of the Wwise SDK documentation.

    • If you know the IP address of the remote computer/console, you can click “Connect to IP” in the Remote Connections dialog box and enter the IP address manually. If you can connect to the game in this manner, then it's only the broadcast from the remote computer/console that is blocked. After connecting a computer/console once, it will automatically appear in the “History” tab of the Remote Connections dialog box, so you won't have to enter the IP address when you try to reconnect in the future.

    • The sound engine is in either debug or profile. You can't connect to a release build of the sound engine.

  • If you try to connect to your game from a very large project and Wwise seems to hang on the connect screen, try the following:

    • Open your project, try emptying the current Soundcaster and Mixing Desk sessions, remove what is loaded into the transport control, and then try to connect to the game.

      A little background information on why this may work. When Wwise connects to a game, it pushes information to the game, to make sure what is displayed in Wwise is in sync with what is in the game. But Wwise does not push everything because it would be too much and take too long. Instead, Wwise pushes only what is selected in the transport control and what is present in the active Soundcaster and Mixing Desk sessions. If you are trying to connect to your game from a Wwise project that has an active Soundcaster or Mixing Desk session containing a large amount of data, you may experience this problem.


이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요