|
Post by screenhog on Mar 3, 2016 0:24:42 GMT
I updated Master Audio to 3.5.8.9 and started a new Unity scene. However, when I clicked the "Create" button, it didn't add a new prefab to my scene.
I tried dragging the Master Audio prefab (Plugins > DarkTonic > MasterAudio > Prefabs) into the scene, but it gave me an error message. Is something broken?
(I duplicated the prefab, dragged that into the scene, and got no error message. Hopefully that will solve the problem.)
|
|
|
Post by DarkTonic Dev on Mar 3, 2016 0:35:53 GMT
Probably one of 2 problems.
1) If you updated without first deleting the old files, it will update the files where they are currently. I recommend always deleting the files before getting the newest. If you had a very old version of Master Audio where the plugin code was not in "Assets/Plugins", then importing over top won't work, and as a result it's looking in the wrong place for the prefabs. 2) If you had moved the MA files from their original location and changed the Installation Path folder option on Master Audio Manager window, that setting was lost in the new update and you will need to re-set it (please read the release notes for indications of things like this).
If you created the game object by dragging the MA prefab into the Scene, just make sure you immediately create your own prefab from that, breaking the connection with the original. If you do not, then the next time you update, your MA game object will revert back to whatever it included in the plugin prefab.
Did you get an error message in the Console when clicking "create"? Pretty sure you will.
|
|
|
Post by screenhog on Mar 3, 2016 0:44:52 GMT
It was probably problem 1, then, as I didn't move any installation folders around.
I did make a new prefab, rather than editing the original. Seems to be working so far.
(No, there was no error when clicking the button.)
|
|
|
Post by DarkTonic Dev on Mar 3, 2016 0:52:04 GMT
Cool, then that will work. However, if MasterAudio folder is not in Plugins now, I suggest you delete everything and re-import so you will be able to created prefabs from that window.
|
|
|
Post by screenhog on Mar 3, 2016 1:23:24 GMT
The MasterAudio folder is in Plugins, so we're good.
|
|
|
Post by DarkTonic Dev on Mar 3, 2016 4:23:26 GMT
I just gave it a shot. This is a little embarrassing but I left 2 lines commented out in the last version. Uncomment line 61-62 in MasterAudioManager.cs and this will work again (remove the "//" from the beginning of the lines). I'll do an update soon to fix this.
|
|
|
Post by screenhog on Mar 4, 2016 20:00:36 GMT
LOL... don't worry about it, happens to the best of us. Glad I was able to do a bug report for ya.
|
|
|
Post by DarkTonic Dev on Mar 4, 2016 20:27:59 GMT
Thank you.
|
|