Assets not loaded on dedicated server


(Marat Yakupov) #1

Simple case: some blueprint has serverside logic and reference to FMODEvent. At certain circumstances it want to send Client RPC with name of event, so client can use FindEventByName and play it. It can be don by passing FMODUtils::LookupNameFromGuid(Event->AssetGuid);

On dedicated server all FMODEvent references contains nullptr, log contains messages like this:

LogStreaming: Error: Couldn’t find file for package /Game/FMOD/Events/object/tree requested by async loading code. NameToLoad: /Game/FMOD/Events/object/tree.

They are created earlier, since log contains

Constructing asset: /Game/FMOD/Events/object/tree

but not finded by loader.


(Cameron Baron) #2

Are you able to send us the log file, while using the logging version of FMOD, to support@fmod.com


(Marat Yakupov) #3

Already solved this. Check my pullrequest. https://github.com/fmod/ue4integration/pull/30