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"

Set Material Node

Dear Gents, I having a problem that appear only after I close my project and for the time being it does not make any trouble for me. At least for now.

the problem comes from the SetMaterial Node and here is the message:

"Error Blueprint Runtime Error: Accessed None trying to read property CallFunc_AddComponent_ReturnValue23 from function: 'ExecuteUbergraph_Bp_Board' from node: Set Material in graph: EventGraph in object: Bp_Board with description: Accessed None trying to read property CallFunc_AddComponent_ReturnValue23"

alt text

This SetMaterial Node is assigning material for 4 AddStaticMeshComponent Nodes.

What is wonder me is that I have about 20 SetMaterial Nodes but non of them behave like that node. Any Idea gents?

Best Regards

Product Version: UE 4.12
Tags:
more ▼

asked Oct 11 '16 at 07:30 PM in Blueprint Scripting

avatar image

shafeeq
1 2 3

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

1 answer: sort voted first

Hi shafeeq,

That error is usually caused by the need to have a IsValid check somewhere. Try adding an IsValid node inbetween the AddStaticMeshComponent and the Insert node.

alt text

Let me know if that helps.

Cheers,

TJ

isvalid01.png (80.1 kB)
more ▼

answered Oct 13 '16 at 07:21 PM

avatar image

TJ V ♦♦ STAFF
41.1k 1009 183 493

(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