Search Issue Tracker
By Design
Votes
0
Found in
5.3.2f1
Issue ID
781897
Regression
No
Audio Spatializer SDK - Meta-Data not sent to native plugin if no AudioClip is selected in AudioSource
Steps to reproduce:
1. Open attached project
2. Open the file 'Plugin_Spatializer.cpp' with Visual Studio located in the 'NativeCode' folder
3. Place a breakpoint in the 'ProcessCallBack' function of 'Plugin_Spatializer.cpp'
4. Open the scene 'spatialization' in Unity
5. Notice the settings in the 'speech' GameObject, there is no AudioClip attached
6. Play the scene
7. Attach Visual Studio to 'unity.exe'
8. Notice in the 'Plugin_Spatializer.cpp' variable data menu 'state/spatializerdata/ ' that the values are equal to zero
9. The values should match the values in the Unity 'speech/AudioSource' settings
10. After attaching an AudioClip in Unity, the values are assigned correctly
Expected: The values in 'Plugin_Spatializer.cpp' should match the values in the 'AudioSource' settings
Reproduced: 5.4.0b14, 5.3.4p3, 5.2.3p3
By design:
Unity always only updates transform positions on AudioSources that are actively playing for performance reasons, and that update function is the one that feeds the position into the spatializer data struct.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment