Search Issue Tracker
Won't Fix
Fixed in 2020.1.X
Votes
0
Found in
2017.4
2018.4
2019.2
2019.2.14f1
2019.3
2020.1
Issue ID
1204383
Regression
No
[IL2CPP] NAudio.dll library methods does not work on builds when using IL2CPP backend
How to reproduce:
1. Open the attached project ("case_1204383-NAudio.zip")
2. Open the repro scene ("SampleScene")
3. Enter Play Mode
4. Hear the sine soundwave being played
5. Exit Play Mode
6. Build and run the standalone build using IL2CPP backend
7. Listen for the same sine soundwave
Expected results: Sine soundwave can be heard
Actual results: Sine soundwave cannot be heard
Reproducible with: 2017.4.36f1, 2018.4.16f1, 2019.2.19f1, 2019.3.0f6, 2020.1.0a20
Notes:
1. The issue does not reproduce on Mono backend (tested with low and high code stripping settings)
2. Repro project is using NAudio sound library: https://github.com/naudio/NAudio
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
Resolution Note:
We don't plan to support NAudio with IL2CPP. If you would like to use it with Unity, I would recommend using the Mono scripting backend.