i have an scene in fmod 5.3.5 f1, with first person controller, a plane and a cube.
i fmod i have one event, with one song and Distance built in parameter.
in unity i imported a custom package fmodstudio10807_v2 integration.
in fmod edit setting i checked load all event data at initialization
default setting i checked live update
in the camera i put a studio listener script
but when i push play in the event window a error appear
FMOD Studio: Encounterd Error: ERR_INVALID_PARAM An invalid parameter was passed to this function.
UnityEngine.Debug:LogError(Object)
FMODUnity.EditorUtils:CheckResult(RESULT) (at Assets/Plugins/Editor/FMOD/EditorUtils.cs:27)
FMODUnity.EditorUtils:PreviewUpdateParameter(String, Single) (at Assets/Plugins/Editor/FMOD/EditorUtils.cs:444)
FMODUnity.EventBrowser:PreviewEvent(Rect, EditorEventRef) (at Assets/Plugins/Editor/FMOD/EventBrowser.cs:689)
FMODUnity.EventBrowser:OnGUI() (at Assets/Plugins/Editor/FMOD/EventBrowser.cs:473)
UnityEditor.DockArea:OnGUI()
- juan montoya asked 2 years ago
- You must login to post comments
Thanks for reporting this. There is a bug when previewing events that have built-in parameters such as distance or cone angle.
It will be fixed in the next release – 1.08.08. Or if you’re comfortable with code you can see the fix on github
- Nicholas Wilcox answered 2 years ago
- You must login to post comments
Please login first to submit.