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"

Hierarchical Instanted Static Mesh flickers

After adding and removing thousands of instances from a HISM component, the HISM begins to flicker when adding additional instances. Here is a video demonstration. The flickering starts at time=1:12.

https://youtu.be/BjiPNkBk0Wc?t=1m12s

Product Version: UE 4.18
Tags:
more ▼

asked Jan 25 '18 at 03:28 PM in Bug Reports

avatar image

mgumley
102 11 23 31

avatar image Duncan Dam Jan 26 '18 at 03:20 AM

I think problem might be with HISM when each instanced have its own LOD. I'm having some flicker before also and i read that HISM is buggy with LOD calculation at run time when you adding and removing, so till i only have less than 50 instances, i just switch to Instanced Static Mesh Component and the problem gone.

avatar image mgumley Jan 26 '18 at 05:04 AM

Your solution isn't quite clear to me. Are you suggesting to just stop using HISM?

avatar image Duncan Dam Jan 26 '18 at 06:42 AM

My suggest is using Instanced Static Mesh instead of Hierarchical ISM

avatar image mgumley Jan 27 '18 at 04:10 AM

Duncan, this is not very helpful. You should not be replying to bug reports by simply saying "Don't use that feature". The ISM does not provide the same benefits of the HISM, it is not a replacement.

avatar image Duncan Dam Jan 27 '18 at 11:28 AM

what's your deal man ? just trying to help and suggestion based on my experience, also that's why i put on comment section not answer. Suggestion is for your reference you can take it or not. ok.

avatar image Infiltrator_ Feb 13 '18 at 04:41 AM

@Duncan Dam, that is not the way to help by suggesting HISM should not be used.

avatar image JohnADaniels Oct 28 '18 at 12:19 PM

Thank you, I may have to do the same thing.

avatar image Sean L ♦♦ STAFF Jan 26 '18 at 03:27 PM

Hello,

We've recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1410408-unreal-engine-bug-submission-form

Thanks

avatar image mgumley Jan 27 '18 at 04:28 AM

Thanks for clarifying that Sean. I just filled out the bug report there.

avatar image mgumley Feb 01 '18 at 03:45 AM

I submitted the bug using that submission form, but I can't find it on your site. I looked here ( https://issues.unrealengine.com/ ) and searched for the title (the same as this post) but I can't find it. Can you show me where I can find it?

avatar image Infiltrator_ Feb 13 '18 at 04:43 AM

@mgumley I am facing the same issue but mine is more severe. See the video of the HISM flickering in and out as I simply change the view point : link text

avatar image JohnADaniels Oct 28 '18 at 07:02 AM

Did you guys ever get this figured out, I am having the exact same issue.

avatar image JohnADaniels Oct 28 '18 at 12:01 PM

Did you guys ever get this figured out, I am having the exact same issue.

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

3 answers: sort voted first

Hi, folks! I have found what I believe is a partial solution.

I found that my issue lied in the HISMs building asynchronously: after moving some HISM instances, the meshes would briefly pop out and in again within a single frame. In other words, there was no single game frame where the instances were gone; as I stepped through in play mode, the meshes would often disappear and reappear after a single click of the "Step Forward" button.

In order to address this I'm now calling UHierarchicalInstancedStaticMeshComponent::BuildTreeIfOutdated after doing the operation on the instances that causes my flickering, passing in false for Async and true for ForceUpdate. My understanding is that this forces the HISM to build synchronously on that frame.

I've done a little bit of profiling and haven't found a big performance impact from this technique, but that might vary depending on the size of your HISMs and / or how frequently you need to call BuildTreeIfOutdated.

more ▼

answered Jan 23 '19 at 12:01 AM

avatar image

BrendanLoBuglio
16 2 3

avatar image ProzackPH7 Apr 01 '19 at 10:58 AM

Is there anyway I can do this in blueprints?

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

Based on my experiences it has been fixed in 4.22, so just update your project as soon as it's released and the flickering should go away :)

more ▼

answered Apr 01 '19 at 11:12 AM

avatar image

KristofMorva
1.3k 4 5 7

avatar image JohnADaniels Apr 01 '19 at 11:20 AM

Thank you.

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

Did you guys ever get this figured out, I am having the exact same issue.

more ▼

answered Oct 28 '18 at 12:01 PM

avatar image

JohnADaniels
85 4 8 16

(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