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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Referencing a static mesh for 'Add Instanced Static Mesh Component' fails to draw them in the scene

Hello. I have run up against what seems like a fairly simple problem with a Construction Script.

The following section of Blueprint script works fine. I have a loop, which checks a condition, and if valid creates a mesh (that the user can pick in the Details pane) in the scene at different locations: alt text

However, the user would be able to duplicate this a lot. So I thought it best to add this as an instanced mesh component. But changing this then fails to render the model in the scene at all: alt text

This seems like something quite simple. If anyone could help I would be very grateful. Thanks.

Product Version: UE 4.19
Tags:
capture.png (95.4 kB)
capture1.png (83.6 kB)
more ▼

asked Jul 22 '18 at 10:11 PM in Blueprint Scripting

avatar image

Mackinder
11 1 2

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

1 answer: sort voted first

Can you post the SS of the entire blueprint?

more ▼

answered Jul 22 '18 at 10:19 PM

avatar image

straja95
28 2 4

avatar image Mackinder Jul 23 '18 at 06:59 PM

Sure thing!

This draws the meshes correctly: alt text

This does not: alt text

I think that it may be because the variable type for 'Segment Mesh' is 'Static Mesh'. I tried using 'Instanced Static Mesh Component', but then I can't add the mesh in the 'Details' pane for the Blueprint.

Thanks!

one.jpg (136.5 kB)
two.jpg (136.2 kB)
(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