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"

SetVectorParameterValueOnMaterials not working in packaged game

SetVectorParameterValueOnMaterials blueprint function does nothing in packaged game when it is in the ConstructionScript. It worked in 4.14.

To reproduce:

  • create a third person blueprint project

  • create a blueprint actor, add a cube component and put this in the construction script: alt text

  • put a instance of the actor in the map

  • run PIE, the cube is red as expected

  • create game package (I tried Windows 32 bit)

  • launch packaged game, the cube is white

If the blueprint code above is moved from construction script to BeginPlay, it works correctly when packaged. I did not try other Set*ParameterValueOnMaterials but they likely have the same problem.

Product Version: UE 4.15
Tags:
mat_param_bp.png (482.4 kB)
more ▼

asked Mar 01 '17 at 09:41 AM in Bug Reports

avatar image

matfer
105 7 15 24

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

1 answer: sort voted first

Hey matfer,

I've reproduced the issue and have entered a bug report which you can track using the link below:

https://issues.unrealengine.com/issue/UE-42480

Thanks for your report.

Have a great day

more ▼

answered Mar 01 '17 at 05:09 PM

avatar image

Sean L ♦♦ STAFF
44k 485 149 438

(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