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"

Unexpected behaviour when adding gameplay tag to instanced static mesh.

I have a variable, "UID" that I am incrementing each time I spawn an instanced static mesh. I'm saving it into an array along with other relevant data about the object, and I am also storing it in the gameplay component tag of the specific item I am spawning so that I can use it to maintain an association between the stored data and the instanced mesh.

I am having this weird bug however, where the array is storing the correct value, but the tag only ever stores the default value of my "UID" Variable. Is there some limitation with instanced static meshes which doesn't allow them to have unique gameplay tags? It's almost acting like each instance just duplicates whatever is getting stored in the first instance only.

alt text

Product Version: Not Selected
capture.jpg (78.8 kB)
more ▼

asked Oct 02 '14 at 11:24 PM in Using UE4

avatar image

1.2k 57 67 99

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

1 answer: sort voted first

Hi Hyperloop,

Currently, Instanced Static Meshes will not have unique tags. The root mesh that they are based off of will be the only mesh to get one.

We understand that this option could be handy to have in certain situations though, so this is something our developers are looking into and it may be implemented in a future build.

Thanks, TJ

more ▼

answered Oct 03 '14 at 02:06 PM

avatar image

41k 1009 183 494

avatar image Hyperloop Oct 03 '14 at 03:02 PM

Thank you for the reply, that sheds some light on it! I definitely agree that some strategy for uniquely identifying Instanced Static Meshes on a per-instance basis within the editor will be extremely handy, I'm really happy to hear that you guys are looking at this.

you guys rock!

(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