Hi! I can’t get FMOD (1.07) synced to my Unity (18.104.22.168f) Game.
I do the following:
I add #define LIVE_UPDATE at the beginning of FMOD_StudioSystem script
In FMOD: I save the project, build banks and export GUIDS
In Unity: I Import the banks (or Refresh Event List). Save the project and Save Scene. Play the game (the scene is empty).
4 In FMOD: File/Connect to game – IP Address: localhost – Push Connect
FMOD give me back this message:
“Studio was unable connect to “localhost” as a connection error occurred: “Socket Error”
Please check that the IP address is correct, the game is running and live update is enabled”
WHY?? How can I get it working?
The correct define is FMOD_LIVEUPDATE
Read the documentation here: http://www.fmod.org/documentation/#content/generated/engine_unity/configuration.html
I’ve seen it, but I don’t have no FMOD_StudioSystem.cpp script after importing fmodstudio10701.unitypackage into unity. There is a FMOD_StudioSystem.cs . Is that the same?
The post you suggested me speak about line 258. My line 258 of FMOD_StudioSystem.cs has the following code:
(first line 257)
[this is my line n258]
FMOD.Studio.INITFLAGS flags = FMOD.Studio.INITFLAGS.NORMAL; FMOD.System sys; ERRCHECK(system.getLowLevelSystem(out sys)); FMOD.ADVANCEDSETTINGS advancedSettings = new FMOD.ADVANCEDSETTINGS(); advancedSettings.randomSeed = (uint) DateTime.Now.Ticks;
(end of code)
If I put there that code console give ma back an error. What to do? Is there the script already modified?
Please login first to submit.