I’m working on a stable and updated text to speech for unity 5 click here for description examples and code
If you are trying the “DaG_II first attempt (here)” to make unity talk on windows, using MSDN SAPI, your build version may crash
Joffle from the forum unity3d figure out how to solve it: when GetVoices is called, the CustomMarshalers.dll is loaded.
Copy the CustomMarshalers.dll from \Editor\Data\Mono\lib\mono\2.0 (in the unity install directory), then paste it in the managed folder of your build.
If you put CustomMarshalers.dll in the asset folder it will included in the managed folder automatically every buld.
Questions? Suggestions? Please leave a comment below.