Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes
由于项目使用代码审查工具,会扫描到Wwise\Deployment\API\Generated目录下的多个文件使用了foreach。例如

Wwise\Deployment\API\Generated\Android\AkSoundEngine_Android.cs(1158): foreach(string s in in_ppszString)

Wwise\Deployment\API\Generated\Android\AkSoundEngine_Android.cs(1169): foreach(string s in in_ppszString)

Wwise\Deployment\API\Generated\Android\AkSoundEngine_Android.cs(1196): foreach(string s in in_ppszString)

Wwise\Deployment\API\Generated\Android\AkSoundEngine_Android.cs(1207): foreach(string s in in_ppszString)

Wwise\Deployment\API\Generated\Android\AkSoundEngine_Android.cs(1250): foreach(string s in in_ppszGameSyncName)

Wwise\Deployment\API\Generated\Android\AkSoundEngine_Android.cs(1261): foreach(string s in in_ppszGameSyncName)

Wwise\Deployment\API\Generated\Android\AkSoundEngine_Android.cs(1288): foreach(string s in in_ppszGameSyncName)

Wwise\Deployment\API\Generated\Android\AkSoundEngine_Android.cs(1299): foreach(string s in in_ppszGameSyncName)

Wwise\Deployment\API\Generated\iOS\AkSoundEngine_iOS.cs(1158): foreach(string s in in_ppszString)

Wwise\Deployment\API\Generated\iOS\AkSoundEngine_iOS.cs(1169): foreach(string s in in_ppszString)

Wwise\Deployment\API\Generated\iOS\AkSoundEngine_iOS.cs(1196): foreach(string s in in_ppszString)

Wwise\Deployment\API\Generated\iOS\AkSoundEngine_iOS.cs(1207): foreach(string s in in_ppszString)

Wwise\Deployment\API\Generated\iOS\AkSoundEngine_iOS.cs(1250): foreach(string s in in_ppszGameSyncName)

Wwise\Deployment\API\Generated\iOS\AkSoundEngine_iOS.cs(1261): foreach(string s in in_ppszGameSyncName)

Wwise\Deployment\API\Generated\iOS\AkSoundEngine_iOS.cs(1288): foreach(string s in in_ppszGameSyncName)

Wwise\Deployment\API\Generated\iOS\AkSoundEngine_iOS.cs(1299): foreach(string s in in_ppszGameSyncName)

Wwise\Deployment\API\Generated\Mac\AkSoundEngine_Mac.cs(1158): foreach(string s in in_ppszString)

Wwise\Deployment\API\Generated\Mac\AkSoundEngine_Mac.cs(1169): foreach(string s in in_ppszString)

Wwise\Deployment\API\Generated\Mac\AkSoundEngine_Mac.cs(1196): foreach(string s in in_ppszString)

Wwise\Deployment\API\Generated\Mac\AkSoundEngine_Mac.cs(1207): foreach(string s in in_ppszString)

Wwise\Deployment\API\Generated\Mac\AkSoundEngine_Mac.cs(1250): foreach(string s in in_ppszGameSyncName)

Wwise\Deployment\API\Generated\Mac\AkSoundEngine_Mac.cs(1261): foreach(string s in in_ppszGameSyncName)

Wwise\Deployment\API\Generated\Mac\AkSoundEngine_Mac.cs(1288): foreach(string s in in_ppszGameSyncName)

Wwise\Deployment\API\Generated\Mac\AkSoundEngine_Mac.cs(1299): foreach(string s in in_ppszGameSyncName)

Wwise\Deployment\API\Generated\Windows\AkSoundEngine_Windows.cs(1158): foreach(string s in in_ppszString)

Wwise\Deployment\API\Generated\Windows\AkSoundEngine_Windows.cs(1169): foreach(string s in in_ppszString)

Wwise\Deployment\API\Generated\Windows\AkSoundEngine_Windows.cs(1196): foreach(string s in in_ppszString)

Wwise\Deployment\API\Generated\Windows\AkSoundEngine_Windows.cs(1207): foreach(string s in in_ppszString)

Wwise\Deployment\API\Generated\Windows\AkSoundEngine_Windows.cs(1250): foreach(string s in in_ppszGameSyncName)

Wwise\Deployment\API\Generated\Windows\AkSoundEngine_Windows.cs(1261): foreach(string s in in_ppszGameSyncName)

Wwise\Deployment\API\Generated\Windows\AkSoundEngine_Windows.cs(1288): foreach(string s in in_ppszGameSyncName)

Wwise\Deployment\API\Generated\Windows\AkSoundEngine_Windows.cs(1299): foreach(string s in in_ppszGameSyncName)

Wwise\Deployment\API\Handwritten\AkCallbackManager.cs(78): foreach (KeyValuePair<int, EventCallbackPackage> pair in m_mapEventCallbacks)

Wwise\Deployment\API\Handwritten\AkCallbackManager.cs(99): foreach (KeyValuePair<int, EventCallbackPackage> pair in m_mapEventCallbacks)

Wwise\Deployment\API\Handwritten\AkCallbackManager.cs(119): foreach (KeyValuePair<int, BankCallbackPackage> pair in m_mapBankCallbacks)

Wwise\Deployment\API\Handwritten\AkUtilities.cs(313):                foreach (string reference in referencePlatforms)

Wwise\Deployment\API\Handwritten\AkUtilities.cs(394):            foreach (XPathNavigator node in itpf)

Wwise\Deployment\API\Handwritten\AkUtilities.cs(409):            foreach (XPathNavigator node in it)

Wwise\Deployment\API\Handwritten\AkUtilities.cs(628): foreach (FileInfo file in files)

Wwise\Deployment\API\Handwritten\AkUtilities.cs(637): foreach (DirectoryInfo subdir in dirs)

Wwise\Deployment\Components\AkGameObj.cs(146): foreach (AkUnityEventHandler handler in eventHandlers)

Wwise\Deployment\Components\AkGameObj.cs(309): foreach (var listener in listenerObjects)

Wwise\Deployment\Components\AkGameObj.cs(367): foreach (var listener in listeners[ii])

Wwise\Deployment\Components\AkTriggerBase.cs(35): foreach(TypeInfo typeInfo in typeInfos)

Wwise\Deployment\Components\AkUnityEventHandler.cs(76): foreach(uint triggerID in in_triggerList)

Wwise\Deployment\Components\AkUnityEventHandler.cs(101): foreach(uint triggerID in in_triggerList)

被代码检查工具报Warning,建议在此后的版本统一修改为for
in General Discussion by yu j. (280 points)

Please sign-in or register to answer this question.

...