I have verified that the issue has nothing to do with the .gitattributes or .gitignore. I created a new branch, removed all FMOD-related items from each, committed, branched off this, removed FMOD, reinstalled it (with several failures as described before, and having to repreat the process multiple times), and got Live Update working again.
It’s also not failing upon switching branches as I had thought before, at least not immediately. While Unity and FMOD Studio were running, I merged the second branch into the first, and Live Update continued to function fine. It didn’t fail until I closed and reopened Unity. Here’s a full account of events:
- Created a new branch
fmod-fix-a
, removed all FMOD references from .gitignore and .gitattributes, and committed. - Branched
fmod-fix-b
off this, removed FMOD, committed, reinstalled FMOD (this took several tries before FMOD’s Wizard actually worked/wasn’t broken) and got Live Update working again. - Merged the new branch
fmod-fix-b
intofmod-fix-a
. At this point, the FMOD Studio Project was no longer linked for some reason. - Relinked the FMOD Studio Project. Live Update automatically reconnected to the game and resumed working.
- Exited Play Mode and started it up again. Live Update still worked.
- Exited Play Mode, disconnected FMOD Studio from Live Update (Stop Reconnecting). Attempted to connect again and saw error in FMOD Studio titled “Error Connecting to Game”. ‘Studio was unable to connect to “127.0.0.1:9264” as a connection error occurred: Socket Error. Please check that the IP address is correct, the game is running and live update is enabled.’ I selected the “Retry in background” option, then entered Play Mode again. Live Update resumed working. So far, everything seems to be working as expected.
- Closed and reopened Unity. Entered Play Mode again. This is where it broke. FMOD Studio showed “Live Update On” in green, but I was no longer getting any levels from the mixer. The Wizard still reported that the FMOD Project was linked.
[FMOD] FMOD_OS_Net_Listen : Cannot listen for connections, port 9264 is currently in use.
logged (but only once this time.) - Told FMOD Studio to disconnect from the game, then reconnected. “Live Update On” came back, but Live Update was still not working.