You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changes
Error Logging
Added ValidateEventPath helper that checks for null/empty paths and verifies the event exists in loaded banks before calling FMOD, logging descriptive errors via GD.PushError.
Applied validation to CreateEventInstance, GetEvent, GetEventGuid, PlayOneShot, PlayOneShotAttached, PlayOneShotAttachedWithParams, and PlayOneShotWithParams.
Code Cleanup
Replaced private backing fields (_bankInstance, _busInstance, _vcaInstance) with auto-property initializers across FmodBank, FmodBus, FmodVca, and FmodEvent.
Wrapped FmodSharpPlugin in #if TOOLS to prevent it from being included in export builds.
Reformatted codebase with .editorconfig style rules.