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"

Dynamic Material Instance with Decal make external link bug

alt text With setup shown in picture I've got messages about some external references to material instance when I try to save map and given actor is placed on that map. Basically - i can't save a map. I think in 4.10 it worked fine.

Product Version: UE 4.11
Tags:
decalmi_bug.jpg (77.4 kB)
more ▼

asked Apr 27 '16 at 12:40 PM in Bug Reports

avatar image

Gomo
131 4 11 13

avatar image Adam Davis STAFF Apr 27 '16 at 05:02 PM

Hi Gomo,

  • Does this occur in a clean, blank project with no additional content or is it limited to one project?

  • What steps can I take to reproduce this on my end?

  • What is your material setup?

avatar image Gomo Apr 28 '16 at 09:43 AM

Just checked - it occurs also in blank project. Steps to reproduce: - Create blank BP actor. - add decal component - create material with decal domain and scalar parameter for opacity - create material instance from that decal material - assign material instance to decal component - reproduce BP flow from picture from first post - place actor in the scene - try to save the scene. Material in tested case was just one scalar parameter connected to opacity.

avatar image Adam Davis STAFF Apr 28 '16 at 04:44 PM

Do you have an asset this is occurring in I'd be able to take a look at? Thus far I have not been able to reproduce this on my end.

avatar image Gomo Apr 28 '16 at 05:24 PM

link text In attachment is entire content (3 files) of the blank project I created to debug this. It's created based on BP-based project.

content.rar (204.5 kB)
avatar image Adam Davis STAFF Apr 28 '16 at 06:00 PM

Unfortunately I have not been able to reproduce this error on my end. Do you have any specific steps I can take with these asets to recreate the error?

avatar image Gomo Apr 28 '16 at 06:21 PM

It's weird - I'll ask some of my friends I they can reproduce this - maybe it is something wrong with my engine or something.

avatar image Adam Davis STAFF Apr 28 '16 at 07:47 PM

Try running "fix up redirectors" on your content browser by right clicking on the Content folder and pressing "Fix up redirectors". This should remove any lingering redirects from moving/renaming assets that may be causing the error to occur.

avatar image Gomo Apr 28 '16 at 08:43 PM

Didn't work.

avatar image Adam Davis STAFF Apr 29 '16 at 03:52 PM

Do you have any other steps I can take to reproduce this error on my end? If you are comfortable with it and upload the project where this is occurring I'll be happy to take a look and see if I can reproduce it in the environment it is already occurring in.

avatar image Gomo Apr 29 '16 at 04:16 PM

link text Entire project in attachment

debug.rar (1.5 MB)
avatar image Adam Davis STAFF May 02 '16 at 05:04 PM

Try setting your blueprint decal variable to the original material, save, then switch back to the material instance. Does this fix the error on your end?

It looks from my end like a minor corruption of the variable's pointer, and if this resolves the error , as I have not been able to reproduce this in any other situation in any other project. Please try this and let me know if your error resolves.

avatar image Gomo May 03 '16 at 12:54 AM

It worked - but only for debug project - in main project where I use it it still doesn't work, but I have the a bit more complicated shader - I'll try to mess around a little bit with it.

avatar image Gomo May 03 '16 at 01:43 PM

Unfortunately it didn't work - in main project BP after various still changes can't be saved on the scene. I tried to make a copy of the blueprint - after deleting and adding decal component - it worked with copied BP but not with the original - maybe because it is a parent of BP hierarchy?

avatar image Adam Davis STAFF May 05 '16 at 01:56 PM

I have another test that may address this error. Try replacing your Create Dynamic Material Instance node with a node directly connected to the decal, instead of looking for the Decal Material. You can see the change I made in the image below and this seemed to address the error:

alt text

matinst.png (90.9 kB)
avatar image Gomo May 05 '16 at 02:22 PM

OK, It finally worked. I feel stupid for not trying that. Thanks a lot!

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

1 answer: sort voted first

I'm happy to hear this worked for you. I am marking this thread as answered for tracking purposes.

more ▼

answered May 05 '16 at 02:27 PM

(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