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"

InstancedStaticMesh material is not showing up

I decided to use InstancedStaticMeshComponent for my game. However, I cannot get the material for it to show up. The StaticMeshes that I have them use all have materials set up to them and when I drag those in as a simple static mesh the material shows up. However, when I addInstance() to my Instanced static meshes the meshes will appear without any material. Any ideas why this might happen?

Product Version: UE 4.15
Tags:
more ▼

asked Jun 10 '17 at 11:15 PM in Using UE4

avatar image

T_Reg
41 1 2 8

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

1 answer: sort voted first

In case anyone else is having this problem:

There is a flag inside materials called something like usedWithInstancedStaticMeshes. If you set that to true it will work.

more ▼

answered Jun 11 '17 at 01:57 AM

avatar image

T_Reg
41 1 2 8

avatar image poisondart00 Sep 16 '17 at 08:41 PM

Thank you for pointing this out. :D

(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