Announcement

Collapse
No announcement yet.

PerInstanceCustomData not working in HISM

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    PerInstanceCustomData not working in HISM

    There's a new feature in UE 4.25 which lets us send an array of custom data per instance to the material. However, it doesn't work reliably in hierarchical instanced static mesh (it works perfectly in ISM). Does anybody know what's the problem? Or is there a workaround for it? Or is it a work-in-progress to bring it also to HISM?


    #2
    Having the same issue, thought it was related to culling. Would be great if someone could chime in here.

    Comment


      #3
      Same issue in foliage instancing

      Comment


        #4
        I was looking into this bug today, and it turns out that Epic committed a fix for it ~3 weeks ago on GitHub: https://github.com/EpicGames/UnrealE...c430fabb168d40

        I pulled the change locally and it fixes the bug for me.

        Comment


          #5
          Is this also fixing LOD problems for PerInstanceCustomData? I saw target fix 4.26 for some other PerInstanceCustomData and PerInstanceRandom HISM related issues. For now I am sticking to ISM. I had to revert so much code because of that , because of time constrains and uncertainty I would rather not pull custom local changes.

          Comment


            #6
            I'm digging this up because I am currently trying to use PerInstanceCustomData with foliage instanced static meshes and the changes I make go all over the place depending on LOD.
            I'm on 25.3. Should this work now and I'm doing something wrong or is this still bugged?
            Last edited by Glomby; 10-13-2020, 11:31 AM.

            Comment

            Working...
            X