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

Is it possible to get this fixed in a future version of the Wwise Unity package?

 

AkLinuxSettings has serializable fields UserSettings, AdvancedSettings and CommsSettings that are named the same as fields in the super class. This causes a bit of console log noise, but Unity also warns that it is not doing what you probably think it is doing.

 

1) Unity warns:

The same field name is serialized multiple times in the class or its parent class. This is not supported: Base(AkLinuxSettings) UserSettings
The same field name is serialized multiple times in the class or its parent class. This is not supported: Base(AkLinuxSettings) AdvancedSettings
The same field name is serialized multiple times in the class or its parent class. This is not supported: Base(AkLinuxSettings) CommsSettings

This seems likely to be a bug: changes to those object in AkLinuxSettings are not likely persisted.

 

2) It causes compiler warnings that are noisy in the console:

Assets/Wwise/API/Runtime/Handwritten/Linux/AkLinuxSettings.cs(73,30): warning CS0108: 'AkLinuxSettings.UserSettings' hides inherited member 'AkWwiseInitializationSettings.CommonPlatformSettings.UserSettings'. Use the new keyword if hiding was intended.

Assets/Wwise/API/Runtime/Handwritten/Linux/AkLinuxSettings.cs(76,34): warning CS0108: 'AkLinuxSettings.AdvancedSettings' hides inherited member 'AkWwiseInitializationSettings.CommonPlatformSettings.AdvancedSettings'. Use the new keyword if hiding was intended.

Assets/Wwise/API/Runtime/Handwritten/Linux/AkLinuxSettings.cs(79,30): warning CS0108: 'AkLinuxSettings.CommsSettings' hides inherited member 'AkWwiseInitializationSettings.CommonPlatformSettings.CommsSettings'. Use the new keyword if hiding was intended.

tings.cs(76,34): warning CS0108: 'AkLinuxSettings.AdvancedSettings' hides inherited member 'AkWwiseInitializationSettings.CommonPlatformSettings.AdvancedSettings'. Use the new keyword if hiding was intended.

Assets/Wwise/API/Runtime/Handwritten/Linux/AkLinuxSettings.cs(79,30): warning CS0108: 'AkLinuxSettings.CommsSettings' hides inherited member 'AkWwiseInitializationSettings.CommonPlatformSettings.CommsSettings'. Use the new keyword if hiding was intended.

in General Discussion by Matt Quail (140 points)

1 Answer

+1 vote
 
Best answer

Hi Matt, 

This issue was fixed in Wwise 2025.1.1: 

  • WG-79080 Fixed: AkLinuxSettings.cs inherites from AkWwiseInitializationSettings.CommonPlatformSettings instead of AkWwiseInitializationSettings.PlatformSettings.

https://www.audiokinetic.com/en/library/2025.1.1_8936/?source=Unity&id=linux_releasenotes_2025_1_1.html 

The fix will also be available in the upcoming Wwise 23.1.16 and 24.1.8 releases.

by Alessandro Famà (4.4k points)
selected by Matt Quail
Thanks, I can confirm this fixed the problem.
...