vefcharge.blogg.se

Unity forums standard assets sounds not working
Unity forums standard assets sounds not working












  1. #Unity forums standard assets sounds not working install#
  2. #Unity forums standard assets sounds not working update#
  3. #Unity forums standard assets sounds not working upgrade#

FMOD picks up on the fact that this strings.bank has already been loaded, and does not load it, but when the GameObject is enabled, FMOD throws an error at this point saying it can’t find the event. I experimented by unmarking the banks as Master except for the Master Bank, and then loading in the bank by itself with the Master from the AssetBundle. I also created a little utility class that I can throw on the GameObject at runtime, and it states that the StudioEventEmitter.IsPlaying() value is true: StudioEventEmitter eventEmitter = GetComponent() ĭebug.Log($"Event emitter playing? ") ĭebug.Log("Could not find event emitter") Interestingly though, FMOD doesn’t throw an error here saying that it can’t find the event by the supplied path and I can see the StudioEventEmitter.Play() method is being called. When loading the bank and strings.bank from the Asset Bundle, both load in correctly, but whenever the GameObject that contains a StudioEventEmitter is enabled, the allocated sound doesn’t audibly play. These UI sounds work as expected, and our sound designer has said that these sounds are sent straight to our Master Bus.

#Unity forums standard assets sounds not working update#

This should also allow us to update the banks by updating the Asset Bundle, rather than having to issue an update to our Master Bank and it’s corresponding strings.bank.įurthermore, we have some globally used UI sounds in our Master Bank, which is included in all builds of the app. We have each corresponding bank marked as a master bank in FMOD Studio so that they could then have a respective strings.bank, allowing us to load the path strings for a specific pack’s bank only when the user is using that pack. Right off the bat I want to say that we are probably using a less than common set up for our banks, but our sound designer doesn’t think this would be the cause of the issue.Īs it stands, we have various banks for each Asset Bundle “pack.” Each pack contains a number of 3D assets which are loaded into our app, as well as our banks, which are stored on a prefab that loads the banks into memory when instantiated. Check the package contents and Unity’s release notes before you decide to re-install.I’m having some difficulty with playing sounds from a downloaded Asset Bundle in our app, and I’m sort of at a loss as to what the issue could be. A newer version might make your project look or behave differently and you may need to re-tweak its parameters.

#Unity forums standard assets sounds not working install#

HINT: A newer version of a Standard Asset might behave differently to your existing install (for performance or quality reasons, for example).

#Unity forums standard assets sounds not working upgrade#

This means that if you upgrade your Unity Editor to a newer version, the Standard Assets you have already imported into your project do not upgrade: You have to manually upgrade them.

unity forums standard assets sounds not working

Unity copies the assets you choose to include from the Unity install folder into your new project folder.

unity forums standard assets sounds not working

When you create a new project in Unity, you can choose to include Standard Assets collections in your project. Asset>Import Package menu Standard Assets Do Not Upgrade Automatically See Asset Packages for information about installing (importing) Standard Assets, as well as sharing Custom Packages between projects and via the Asset Store. Unity transfers Standard Assets into and out of projects using Unity packages. These are: 2D, Cameras, Characters, CrossPlatformInput, Effects, Environment, ParticleSystems, Prototyping, Utility, Vehicles.

unity forums standard assets sounds not working

These are collections of assets that are widely used by most Unity customers. Unity ships with multiple Standard Assets.














Unity forums standard assets sounds not working