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"

Packaging fails when using sprites in UMG with nativization turned on

If you use sprites in a UMG widget in the 4.15 preview and try to package with blueprint nativization on it fails with the error Cannot open include file: 'PaperSprite.h': No such file or directory

Repro steps for this are:

  1. Create a UMG widget.

  2. Add an image to the widget, set the brush for it to a sprite in your project (or just create a new one).

  3. Change the "Blueprint Nativization Method" under Project Settings->Packaging to "Inclusive".

  4. Package the project.

Attaching my repro case to this post as well

Product Version: UE 4.15 Preview
umgspritetest.zip (10.9 kB)
more ▼

asked Jan 25 '17 at 06:00 PM in Bug Reports

avatar image

929 42 61 210

avatar image Rudy Q ♦♦ STAFF Jan 27 '17 at 09:03 PM

Hello kgamble,

I tested this in a clean project, however I was unable to reproduce this issue without using the assets provided. Could you provide more information on any changes that you may have made to the assets in your project that may have been left out of your original steps?

avatar image kgamble Jan 27 '17 at 10:59 PM

I can't think of anything that was missing, but just in case I remade my project and took screenshots along the way.

  1. Create a new project, I chose blank blueprint project with no starter content Create a project

  2. Add a new UMG widget (no screenshot of this)

  3. In the widget, drag and drop an image into the canvas panel, change Brush->Image to Create New Asset->Sprite, save the new asset to the root of your content folder Widget

  4. Your Content Browser should now look something like this ContentBrowser

  5. Open your packaging settings and change Blueprint Nativization Method to Inclusive Packaging Settings

  6. Package your project under Windows (32-bit). It also failed when I tried Windows (64-bit). Package

While I was doing this I did find that if I installed the project templates and picked 2D Side Scroller then it didn't fail to package, so maybe something about the templates fixes this that the blank project doesn't do.

projectsettings.png (189.0 kB)
umgwidget.png (206.9 kB)
contentbrowser.png (26.0 kB)
packaging.png (127.3 kB)
avatar image kaziu STAFF Feb 15 '17 at 05:59 PM

hi kgamble, There is a workaround. Add "+AdditionalPublicDependencyModuleNames=Paper2D" in [BlueprintNativizationSettings] section in your DefaultEditor.ini. Let me know it it helps.

avatar image kgamble Feb 15 '17 at 06:53 PM

Looks like that fixed it, thanks.

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

1 answer: sort voted first

After reading over your new information, I was able to reproduce this issue on our end in a clean project. I have written up a report and I have submitted it to the developers for further consideration. I have provided a link to the public tracker. Please feel free to use the link provided for future updates. Thank you for your time and information.

Link: https://issues.unrealengine.com/issue/UE-41264

Make it a great day

more ▼

answered Jan 30 '17 at 03:52 PM

avatar image

Rudy Q ♦♦ STAFF
47.3k 545 132 525

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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