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"

NativizedAssets has 1024 string characters limit

I have BP structure with 354 materials elements. If turn on nativization assets ("-nativizeAssets") when cooking and packaging via command-prompt, the following error is occure:

"UnrealBuildTool: F:/A/Intermediate/WindowsNoEditor/NativizedAssets/Source/NativizedAssets/Public/SettingsDB__pf3799584219.h(26) : String constant exceeds maximum of 1024 characters"

On line 26 "MakeStructureDefaultValue=XXXXXX" when XXXXXX is string with more than 1024.

If cooking and packaging without nativizeAssets, all works OK!

Product Version: UE 4.12
Tags:
more ▼

asked Jul 26 '16 at 01:55 PM in Bug Reports

avatar image

Angel Tsvetkov
277 27 37 54

avatar image Rudy Q ♦♦ STAFF Jul 26 '16 at 02:41 PM

Hello Angel Tsvetkov,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?

  2. If so, could you provide a detailed list of steps to reproduce this issue in a clean project?

  3. Could you provide screen shots of any blueprints/materials/settings that may be involved?

avatar image Angel Tsvetkov Jul 26 '16 at 03:55 PM

Sorry but have no time for this. Regards

avatar image Rudy Q ♦♦ STAFF Jul 26 '16 at 08:36 PM

Hello Angel Tsvetkov,

Feel free to reopen this issue when you have time/information and I will be happy to assist you further.

Make it a great day

avatar image Angel Tsvetkov Jul 27 '16 at 05:30 AM

Steps to reproduce the error:

  1. in blank BP project create BP structure that contains one element of Material type. Insert 354 members materials from StarterContent over and over until set all 354 members.

  2. Then use that BP structure in some actor in scene

  3. Then try to package with -nativizedAssets

Nativization BP Assets is very important option and must be prioritize by my opinion before anything else. Regards

avatar image Rudy Q ♦♦ STAFF Jul 27 '16 at 02:48 PM

If you go into your project settings and turn on Nativize blueprint Assets and then package out via File > Package project > Chosen platform, does this method make a difference?

avatar image Angel Tsvetkov Jul 27 '16 at 03:54 PM

No, not at all

avatar image Rudy Q ♦♦ STAFF Jul 28 '16 at 03:19 PM

I was unable to reproduce this issue on our end. I have another question after running through the test again. Are you assigning materials to the material elements or can they remain empty?

avatar image Angel Tsvetkov Jul 29 '16 at 06:29 AM

I assigned all 354 materials from StarterContent (not just create 354 empty materials members in the BP structure)

This is the major point- the names of the materials will concate in one string in "XXXXXX" (MakeStructureDefaultValue=XXXXXX) during nativization and error of 1024 string chars limit will rise!

avatar image Rudy Q ♦♦ STAFF Aug 01 '16 at 07:16 PM

After further testing I was not able to reproduce this error on our end. Could you provide a sample project that reproduces this issue so that I could take a closer look?

avatar image Angel Tsvetkov Aug 05 '16 at 02:49 PM

I am absolutely sure about this bug. It is just a matter of some time to be confirmed by you. Regards

avatar image Rudy Q ♦♦ STAFF Aug 05 '16 at 05:29 PM

Hello Angel Tsvetkov,

If you would like to provide a sample project that reproduces this issue I will be more than happy to take a look. You can do this by providing a link via google drive or drop box. If you would like to provide it privately, you can do so via a private message to me on the forums.

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

1 answer: sort voted first

Hello Angel Tsvetkov,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.

Thanks,

more ▼

answered Aug 05 '16 at 01:32 PM

avatar image

Rudy Q ♦♦ STAFF
47.2k 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