# FMOD Studio 2.01.07 Profiler Connects to Unity, but Events Aren't Recorded

**URL:** https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078
**Category:** FMOD Studio
**Created:** [April 20, 2021, 7:10pm UTC](https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078 "2021-04-20T19:10:49Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![millertone](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/millertone/32/769_2.png) [@millertone](https://qa.fmod.com/u/millertone)
#### Post date: [April 20, 2021, 7:10pm UTC](https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078/1 "2021-04-20T19:10:49Z")

</div>

Hi Folks,  
I can enable Live Update, and it appears that data is recording, but it doesn’t appear as though audio is being received in the Profiler’s Master, and no events are being registered. We’re using FMOD 2.01.07 and Unity 2020.3.1f1.

Thanks Matt!

 ![FMOD Profiler 2.01.07](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/8/8550564bf885c8c11ea860f4117044e732f18371.png)

---

<div class="post-metadata">

### Author: ![Alcibiade](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/alcibiade/32/4284_2.png) [@Alcibiade](https://qa.fmod.com/u/Alcibiade)
#### Post date: [April 20, 2021, 8:05pm UTC](https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078/2 "2021-04-20T20:05:05Z")

</div>

I know this sounds stupid, but I think I remember having this kind of behavior if there were either no project loaded in FMOD, or maybe another version of the project. Did you try to simply rebuild up-to-date banks and import them in Unity?

---

<div class="post-metadata">

### Author: ![millertone](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/millertone/32/769_2.png) [@millertone](https://qa.fmod.com/u/millertone)
#### Post date: [April 20, 2021, 8:38pm UTC](https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078/3 "2021-04-20T20:38:30Z")

</div>

Haha, not a stupid question, you do make a valid point in that the dev pushed their FMOD settings, and they were using multiplatform build, instead of connecting to the project. I did make sure to switch that back, though, and reconnect the FMOD project. The update to Unity 2020 was fairly recent, and I don’t recall if I ran the Profiler on this particular project before then.

---

<div class="post-metadata">

### Author: ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)
#### Post date: [April 21, 2021, 1:29am UTC](https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078/4 "2021-04-21T01:29:00Z")

</div>

Looking at your screenshot, the record button in the transport bar isn’t highlighted. Click it to begin recording.

---

<div class="post-metadata">

### Author: ![millertone](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/millertone/32/769_2.png) [@millertone](https://qa.fmod.com/u/millertone)
#### Post date: [April 21, 2021, 1:49am UTC](https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078/5 "2021-04-21T01:49:23Z")

</div>

Hi Joseph,  
The screenshot was taken after recording. You can see that there’s no waveform and no event tracks, after the fact.

Thanks, Matt

---

<div class="post-metadata">

### Author: ![millertone](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/millertone/32/769_2.png) [@millertone](https://qa.fmod.com/u/millertone)
#### Post date: [April 24, 2021, 4:20pm UTC](https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078/6 "2021-04-24T16:20:07Z")

</div>

This issue is still unresolved for me. If if helps, I’m seeing the error [FMOD] FMOD\_OS\_Net\_Listen : Cannot listen for connections, port 9264 is currently in use in Unity, even though FMOD is telling me Live Update is active.

Any thoughts on this would be greatly appreciated.

Regards, Matt

---

<div class="post-metadata">

### Author: ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)
#### Post date: [April 27, 2021, 6:20am UTC](https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078/7 "2021-04-27T06:20:34Z")

</div>

`[FMOD] FMOD_OS_Net_Listen : Cannot listen for connections, port 9264 is currently in use` suggests that some other application is already using that port. I suggest you check which application is using it. On Windows, this can be achieved by running the command prompt in terminal mode and running netstat; on macOS, you can use the Port Scan tab of the Network Utility app.

---

<div class="post-metadata">

### Author: ![okaybenji](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/okaybenji/32/1346_2.png) [@okaybenji](https://qa.fmod.com/u/okaybenji)
#### Post date: [May 20, 2021, 5:21pm UTC](https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078/8 "2021-05-20T17:21:41Z")

</div>

Hi, I’m also unable to use Live Update on macOS. FMOD Studio and Unity Integration are versions 2.01.07. I’m seeing the same error: _Cannot listen for connections, port 9264 is currently in use._

I have run the port scan as recommended, and it shows the port as being open:

_Port Scan has started…_

_Port Scanning host: 127.0.0.1_

- Open TCP Port: 9264\*  
_Port Scan has completed…_

---

<div class="post-metadata">

### Author: ![millertone](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/millertone/32/769_2.png) [@millertone](https://qa.fmod.com/u/millertone)
#### Post date: [May 20, 2021, 6:55pm UTC](https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078/9 "2021-05-20T18:55:11Z")

</div>

The remedy for us was to update to 2.01.09.

Matt

---

<div class="post-metadata">

### Author: ![okaybenji](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/okaybenji/32/1346_2.png) [@okaybenji](https://qa.fmod.com/u/okaybenji)
#### Post date: [May 20, 2021, 11:49pm UTC](https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078/10 "2021-05-20T23:49:40Z")

</div>

Hi Matt, thanks for your response! I’ve upgraded FMOD Studio to 2.01.09, but I’m still seeing the same issue. My Unity Integration version is 2.1.7. I have read this can happen when there is a version mismatch, but I don’t see there is a newer version of the Unity Integration. (Perhaps I’m missing something?) My Unity project is on Unity version 2020.1.17f1, so perhaps it’s related to the version difference. (Hopefully someone at FMOD can help with this?)

---

<div class="post-metadata">

### Author: ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)
#### Post date: [May 21, 2021, 1:51am UTC](https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078/11 "2021-05-21T01:51:48Z")

</div>

> [@okaybenji](#):
>
> My Unity Integration version is 2.1.7. I have read this can happen when there is a version mismatch, but I don’t see there is a newer version of the Unity Integration.

Unfortunately, we’re currently waiting for version 2.01.09 of our Unity integration to be verified by Unity. It’ll be made availalble as soon as verification is complete.

---

<div class="post-metadata">

### Author: ![okaybenji](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/okaybenji/32/1346_2.png) [@okaybenji](https://qa.fmod.com/u/okaybenji)
#### Post date: [May 21, 2021, 2:41pm UTC](https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078/12 "2021-05-21T14:41:40Z")

</div>

Thanks for the response. Does this feature just not work on 2.1.7? Or are you able to help me get it working on that version?

---

<div class="post-metadata">

### Author: ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)
#### Post date: [June 4, 2021, 6:54am UTC](https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078/13 "2021-06-04T06:54:42Z")

</div>

> [@okaybenji](#):
>
> Does this feature just not work on 2.1.7? Or are you able to help me get it working on that version?

When we test here, we have no problem profiling Unity version 2020.3.1f1 using FMOD Studio version 2.01.07. Unfortunately, without knowing why it isn’t working for you, it’s hard for us to pinpoint what you need to do to get it working.

Does the issue occur if you create a new FMOD Studio project with one event and new Unity project, install the FMOD integration, add a single event emitter for the event, and connect via live update?

---

<div class="post-metadata">

### Author: ![okaybenji](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/okaybenji/32/1346_2.png) [@okaybenji](https://qa.fmod.com/u/okaybenji)
#### Post date: [June 8, 2021, 3:26pm UTC](https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078/14 "2021-06-08T15:26:13Z")

</div>

So glad you asked this. I created a new Unity project with a single emitter, but as a test I set it up to use my existing FMOD Studio project. I was able to connect to Live Update without issue, monitor the audio level in the mixer, solo groups, etc.

I added two more emitters related to particular groups and verified muting, changing volume, etc. was all working in real-time.

What might be wrong with our existing Unity project that would cause Live Update to not work, or only work intermittently? Maybe something went wrong with a version upgrade? A DLL wasn’t correctly deleted or etc?

---

<div class="post-metadata">

### Author: ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)
#### Post date: [June 9, 2021, 12:12am UTC](https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078/15 "2021-06-09T00:12:11Z")

</div>

> [@okaybenji](#):
>
> What might be wrong with our existing Unity project that would cause Live Update to not work, or only work intermittently? Maybe something went wrong with a version upgrade? A DLL wasn’t correctly deleted or etc?

I don’t currently know of any issue that could cause this behavior, unless you updated to a new major version of FMOD Studio part-way through development of your game.

Version 2.01.09 has now been verified by Unity. Does updating to this new version (as millertone suggested) resolve the issue?

---

<div class="post-metadata">

### Author: ![okaybenji](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/okaybenji/32/1346_2.png) [@okaybenji](https://qa.fmod.com/u/okaybenji)
#### Post date: [June 9, 2021, 3:06pm UTC](https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078/16 "2021-06-09T15:06:55Z")

</div>

No, I was able to find a place to download the 2.01.09 Unity Integration previously, and installing it didn’t seem to help anything. What do you think about completely removing FMOD from the Unity project and re-installing the integration?

---

<div class="post-metadata">

### Author: ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)
#### Post date: [June 9, 2021, 11:41pm UTC](https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078/17 "2021-06-09T23:41:51Z")

</div>

> [@okaybenji](#):
>
> What do you think about completely removing FMOD from the Unity project and re-installing the integration?

Without being able to reproduce the issue here, I can’t be sure if it’ll work. It’s probably worth trying, though.

---

<div class="post-metadata">

### Author: ![okaybenji](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/okaybenji/32/1346_2.png) [@okaybenji](https://qa.fmod.com/u/okaybenji)
#### Post date: [June 10, 2021, 3:10pm UTC](https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078/18 "2021-06-10T15:10:42Z")

</div>

I removed everything from my Unity project related to FMOD except the FMOD Studio project itself, references to Components on GameObjects, and my own FMOD scripts. Then, I added FMOD Unity Integration 2.01.10 to the project and restarted Unity. Finally, I configured FMOD to point to the FMOD Studio project again. At that point, Live Update started working.

I can’t say yet whether it will be working intermittently or consistently, but so far so good. 👍

---

<div class="post-metadata">

### Author: ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)
#### Post date: [June 11, 2021, 1:23am UTC](https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078/19 "2021-06-11T01:23:09Z")

</div>

I’m glad to hear you were able to get it working. I’ll continue trying to reproduce the issue here, so that hopefully we can prevent this form happening again.

---

<div class="post-metadata">

### Author: ![okaybenji](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/okaybenji/32/1346_2.png) [@okaybenji](https://qa.fmod.com/u/okaybenji)
#### Post date: [June 11, 2021, 6:05pm UTC](https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078/20 "2021-06-11T18:05:05Z")

</div>

For the sake of continuing to troubleshoot, I wanted to let you know what’s happened since my last post.

We are using Git for version control. A branch I had been making FMOD changes on was out of date, so I merged in our main branch (which included the commits which removed FMOD Integration and reinstalled it). After merging the main branch in, Live Update stopped working.

At this point, I repeated the operation of removing FMOD from the project. I committed the removal those files, and then proceeded to install the 2.01.10 Integration again. After restarting Unity, I was unable to perform the Linking in the FMOD Setup Wizard. It had several errors while trying to render the form:

> NullReferenceException: Object reference not set to instance of an object  
> (at Editor/BankRefresher.cs:53)  
> Object at index 0 is null  
> (at Mono/SerializedObject.bindings.cs:22)

Et cetera. So, I checked out all files to revert any new changed and get back to my commit where I had removed FMOD, then added the Integration again. This time, Unity crashed twice while the code was recompiling. Finally, Unity loaded, the Wizard started working, and I was able to connect to the game with Live Update again.

I’m wondering if there’s some issue happening related to using version control with FMOD. We do have the following files being stored in LFS:

> libfmodstudiounityplugin.a filter=lfs diff=lfs merge=lfs -text  
> libfmodstudiounitypluginL.a filter=lfs diff=lfs merge=lfs -text

I’m not sure if there’s any chance that’s related. Additionally, these files are in .gitignore

> # FMOD
> 
> fmod.log
> 
> fmod\_editor.log
> 
> /Assets/Audio/FMOD Project/.cache
> 
> # Ignore the Cache folder since it is updated locally.
> 
> /[Aa]ssets/Plugins/FMOD/Cache/\*
> 
> # Ignore bank files in the StreamingAssets folder.
> 
> /[Aa]ssets/StreamingAssets/\*\*/\*.bank
> 
> /[Aa]ssets/StreamingAssets/\*\*/\*.bank.meta

Update: Some things have happened since. This work I did to resolve Live Update breaking again (removing FMOD Integration and re-installing it) I did on a new branch, branched off the feature branch in which master had been merged. Live Update worked on that branch, but once I checked out the original feature branch and merged in the new branch with the work to resolve the issue, Live Update stopped working again. Not only that, but after changing _back_ to the new branch, which was previously working, and on which nothing was changed aside from changing branches, Live Update was now broken there.

**So Live Update seems to break when changing branches, and the breaking is permanent until FMOD is removed and re-installed.** What could the cause of this be?

[Next page](https://qa.fmod.com/t/fmod-studio-2-01-07-profiler-connects-to-unity-but-events-arent-recorded/17078.md?page=2)
