- We have a ScriptableObject that holds an array of
AssetReference
s via SerializeField
, and once all Addressables are downloaded, we load all banks accordingly.
- Events that are dynamically loaded at runtime using
EventReference
with a path string play correctly.
- However, events attached to prefabs using
StudioEventEmitter
do not seem to play as expected.
- We have tried using “Update Event Reference”, but it had no effect.
We would appreciate any guidance or clarification regarding this issue.
Hi,
Thank you for sharing the information.
Could I please get more info? Specifically:
- The FMOD for Unity version number you are using.
- Code snippets for the ScriptableObject.
- In FMOD Settings, please set the logging level to “Log”, enable API error logging, and post a log where the issue occurs?
Do you see any errors or warnings in the console when trying to play events through StudioEventEmitter
?
When using Addressables to load prefabs that contain StudioEventEmitter
components, please ensure the relevant banks are fully loaded prior to instantiating the prefabs.
If you haven’t already, please refer to our Asynchronous Loading Example, which covers proper loading flow using Addressables.