x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

[Closed] CookOnTheFly and FileExists

I'm using cookonthefly to serve files to a console target. My project uses my own plugin, which dynamically loads my custom DLL.

There's one dynamically-linked DLL, and a bunch of binary data files. They are located in Engine/Binaries/ThirdParty/Simul/{PLATFORM}.

My problem is that, in my plugin's source code:

FPlatformFileManager::Get().GetPlatformFile().FileExists

returns false. This is because the files exist in the PC directory structure, but have not yet been deployed. By stepping into the NetworkPlatformFile class, I have been able to gather that the engine/binaries directory is ignored by CookOnTheFly, because it assumes that everything there is already on the target machine. But it isn't.

So:

  1. Is there some way I can specify that these files should always be deployed on startup? or

  2. Is there some other location I should place a custom dynamically loaded (i.e. not linked) DLL where CookOnTheFly will work? or

  3. Is there a way to force NetworkPlatformFile to get a local copy of missing files even if they are in the local directories?

Thanks!

Product Version: UE 4.9
Tags:
more ▼

asked Sep 29 '15 at 12:32 PM in Packaging & Deployment

avatar image

Roderick Kennedy
28 3 8 10

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

The question has been closed Mar 29 '16 at 04:45 PM by Samantha Sutton for the following reason:

Issue is now outdated. If you are still experiencing this issue, please make a new post for assistance. Thanks!


0 answers: sort voted first

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question