FMOD Studio - UE4 - LiveUpdate Reconnecting

Hi,

I’m experiencing a few issues while trying to connect FMOD Studio to UE4. According to the Fmod Studio Log, the connection seems to be going on and immediately off. Also, the LiveUpdate icon keeps flashing “Live Update Reconnecting”.

In the Unreal Project Settings I have “Enable Live Update” selected. Also, changing the Live Update Port doesn’t seem to take any effect as Fmod Studio will always try to connect to port 3663.

Here’s the log:
14:57:21 fmod_liveupdate.cpp(201), LiveUpdate::update(): Timeout waiting for connecting state to finish
14:57:21 fmod_liveupdate.cpp(231), LiveUpdate::reset(): Reset connection (reason Timeout)
14:57:21 fmod_profile.cpp(135), Profile::disconnectAll(): Profiler disconnecting all clients
14:57:21 fmod_thread.cpp(115), Thread::initThread(): Init FMOD profiler thread (recv). Priority: 0, Stack Size: 131072, Semaphore: No, Sleep Time: 0, Looping: No.
14:57:21 fmod_thread.cpp(115), Thread::initThread(): Init FMOD profiler thread (send). Priority: 0, Stack Size: 131072, Semaphore: No, Sleep Time: 0, Looping: No.
14:57:21 fmod_liveupdate.cpp(432), LiveUpdate::clientConnected(): client = 000001ED69911AC8
14:57:21 fmod_profile.cpp(111), Profile::connect(): Profiler connected to 127.0.0.1:3663
14:57:21 fmod_liveupdate.cpp(452), LiveUpdate::initiateHandshake():
14:57:21 fmod_profile_client.cpp(574), assert(): assertion: ‘header.size <= (unsigned int)MAX_ALLOWED_PACKET_SIZE’ failed
14:57:21 fmod_profile_client.cpp(542), ProfileClient::recvThreadLoopFunction(): Recv thread loop returned 28
14:57:21 fmod_profile_client.cpp(747), ProfileClient::markForDead(): Closing client connection
14:57:21 fmod_thread.cpp(75), Thread::callback(): FMOD profiler thread (recv) finished.
14:57:21 fmod_thread.cpp(75), Thread::callback(): FMOD profiler thread (send) finished.
14:57:21 fmod_liveupdate.cpp(439), LiveUpdate::clientDisconnected(): client = 000001ED69911AC8

Any ideas?
Thank you.

What version of FMOD Studio and the UE4 integration are you using?
1.10.02 has some live update fixes which may help.

The default port used by the API, when zero or nothing is specified, should be 9264.

1 Like

Thanks for the reply. I’m using version Fmod Studio 1.10.00 and UE4 4.17.2. It used to work just fine up to recently with the same version numbers, I don’t know what’s now causing these issues. Whatever port number I set in the Project Settings, Fmod will always give me the message that it failed to connect, unless I try to connect to port 3663 in Studio: in that case it will flash “Live Update Reconnecting” and produce the log error that I previously posted.

Port 3663 is a port reserved for Studio Scripting, not Live Update.

On Windows, you can use the Resource Monitor to view all the active ports.
Make sure the port you want to use isn’t already in use.
In the UE4 FMOD settings, set your port number (default is 9264).
First in Studio, turn Live Update off if it is on.
Run the game and now connect Studio to the game, using IP Address “localhost:port”
https://www.fmod.com/resources/documentation-studio?page=profiling.html#connecting-to-your-game-with-live-update

1 Like

Hey Cameron, thanks for the help once again. I’ve found the problem, it seems LiveUpdate had been disabled after making a few changes to the source. It has now been fixed. Thank you so much for the help :slight_smile: