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"

How to include CEF3 third party module in packaged build?

Hi,

I'm using WebBrowser module in my game and it works fine in editor but when it comes to packaging the CEF3 library is not included with the staged build.

When I'll try to run the application it will crash since there is no CEF3 library. But when I copy/paste entire CEF library from the engine and paste it into staged project directory it works just fine.

So heres my question: how can I set CEF3 library to always be copied into staged directory during packaging?

Thanks

Product Version: UE 4.10
Tags:
more ▼

asked Feb 20 '16 at 10:35 PM in Packaging & Deployment

avatar image

szyszek
595 15 10 36

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Try setting bUsesCEF3 to true in the constructor of your game's Target.cs file. It should look like this:

 public class ShooterGameTarget : TargetRules
 {
     public ShooterGameTarget(TargetInfo Target)
     {
         Type = TargetType.Game;
         bUsesCEF3 = true;
     }
     .....

edit: It appears that Epic fixed the binaries not being copied over in a version of 4.11. I've temporarily copied some of these changes to make it work for 4.10.1; you can view the code changes here.

more ▼

answered Feb 21 '16 at 10:39 PM

avatar image

smaddock
51 2 3 8

avatar image szyszek Feb 22 '16 at 08:39 AM

I did put bUsesCEF3 on true in my target file but it didnt work on 4.10, after updating to master branch all is good. Thanks.

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

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

Answers to this question