You're not showing the Speech Manager entries - that last shot was of a Speech Action.
Click on one of the Speech lines listed in the Speech Manager - again, see the Manual chapter I mentioned in my last post. The script should assign the audio files for you.
If the files are assigned, yes. It's a wiki script because there might be some left out (e.g. if multiple players can speak the same line with their own separate audio). I'd recommend looking through them thoroughly to check beforehand.
I've also updated the wiki script to work from the top toolbar instead of the scene, as well as improve its reliability. I'd recommend updating and re-running too.
And if I was now to choose give matching speech lines the same ID, this would match the same strings and ignore duplications? (as I sometimes have loads of these from my exported scripts) - And thus ignore the old duplicates from the build?
Since the audio files are still referenced by the Speech Manager, they'll still be included in the build. Unity can't tell if you actually play the lines at runtime or not.
If you opt to merge matching lines, it should remove duplicates with only one audio file linked. If the duplicate audio files aren't referenced anymore, then they shouldn't be in the build.
v1.66 introduces the ability to use Asset Bundles to store speech files, which is more performant and should give faster loading times - see the Manual's "Speech audio in AssetBundles" chapter for more.
Comments
How do I run a script in the editor? It will run itself by being on the game object?
See pic:
https://www.dropbox.com/s/m35eya0uqey9elw/Screenshot%202018-08-29%2015.51.48.png?dl=0
Thanks
https://www.dropbox.com/s/e0cszmjplt7vly3/Screenshot%202018-08-29%2016.25.49.png?dl=0
What do I do now, and how do I know this has worked correctly? Thanks
See screenshot:
https://www.dropbox.com/s/mcp87u8e5qdmimd/Screenshot%202018-08-29%2016.37.18.png?dl=0
See screenshot:
https://www.dropbox.com/s/2f6peehbb71yhvp/Screenshot%202018-08-30%2011.25.40.png?dl=0
So after all this although loading times are quicker because of the above, upon revisiting scenes they take longer to load? why could this be?
v1.66 introduces the ability to use Asset Bundles to store speech files, which is more performant and should give faster loading times - see the Manual's "Speech audio in AssetBundles" chapter for more.