Morganator Posted January 30, 2019 Share Posted January 30, 2019 So i wanted to create my own speaker that plays another sound when activated, and block wise modding isnt a problem for me but when i gets to the custom sound im hitting the unity barrier. I have the soundfile in .wav but afaik the game needs .unity3d files to read. Is there any simple way/tutorial for me to get this working? Link to comment Share on other sites More sharing options...
xyth Posted January 30, 2019 Share Posted January 30, 2019 So i wanted to create my own speaker that plays another sound when activated, and block wise modding isnt a problem for me but when i gets to the custom sound im hitting the unity barrier. I have the soundfile in .wav but afaik the game needs .unity3d files to read. Is there any simple way/tutorial for me to get this working? My old video on this should help. Just be sure to use Unity 2018 and the updated export script. The links to those you can find sticked in these forums. Link to comment Share on other sites More sharing options...
Morganator Posted January 31, 2019 Author Share Posted January 31, 2019 Thx for the answer, i already stumbled upon your yt tutorials but seems like i couldnt find the right one Anyways, im using unity 2018.3 if that is a problem? Also i dont know if its that easy or if i have to create a block or something, because when i pull in the sound file into the assets folder (empty unity project) and then pull in your MultiPlatformexportscript (which im guessing is the newest update) then there is no "BuildAssetBundle" option only a "Open C# project" option. I hope i described my situation somewhat clear Thank you again for your time Link to comment Share on other sites More sharing options...
xyth Posted January 31, 2019 Share Posted January 31, 2019 Thx for the answer, i already stumbled upon your yt tutorials but seems like i couldnt find the right one Anyways, im using unity 2018.3 if that is a problem? Also i dont know if its that easy or if i have to create a block or something, because when i pull in the sound file into the assets folder (empty unity project) and then pull in your MultiPlatformexportscript (which im guessing is the newest update) then there is no "BuildAssetBundle" option only a "Open C# project" option. I hope i described my situation somewhat clear Thank you again for your time The game is built on Unity 2018.2 You may well have version issues using 2018.3, so probably a bad idea. That script is fine, just add it into your root asset folder. It should give you an option at the bottom to export. Link to comment Share on other sites More sharing options...
Morganator Posted January 31, 2019 Author Share Posted January 31, 2019 Knowing that the Unity Version could be a problem i uninstalled everything and unity and installed the 2018.2.0f2 Version and still the same issue. Probably a pretty obvious reason i cant seem to figure out. https://s15.directupload.net/images/190131/54edtja2.png Link to comment Share on other sites More sharing options...
xyth Posted January 31, 2019 Share Posted January 31, 2019 Knowing that the Unity Version could be a problem i uninstalled everything and unity and installed the 2018.2.0f2 Version and still the same issue. Probably a pretty obvious reason i cant seem to figure out. https://s15.directupload.net/images/190131/54edtja2.png The script isn't working. I cant see the file extension on it, or how you downloaded it, but thats probably you issue Link to comment Share on other sites More sharing options...
Morganator Posted January 31, 2019 Author Share Posted January 31, 2019 YES its working i downloaded your complete Github.zip just to be sure and tried both the MultiPlatformExportAssetBundles.cs and ExportAssetBundles.cs but only the latter one worked. Still i dont complain its working like in the video so thank you again. Link to comment Share on other sites More sharing options...
xyth Posted January 31, 2019 Share Posted January 31, 2019 Interesting. When I installed Unity2018.2 I selected the additional build support for OSX and Linux. Perhaps that is why its failing, although I didn't think those were dependencies. I will check that out. Thanks Link to comment Share on other sites More sharing options...
Morganator Posted February 1, 2019 Author Share Posted February 1, 2019 Interesting. When I installed Unity2018.2 I selected the additional build support for OSX and Linux. Perhaps that is why its failing, although I didn't think those were dependencies. I will check that out. Thanks Hmm i didnt select additional support maybe thats it. anyways my mod is working and i will probably post it although its a bit stupid Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.