Per Instance Custom Data - data not static

Hello Epic,

The Node Per “Instance Custom Data” value changes when the camera view is changed.
How can the problem be solved?

With few instances it seems to work (<100 instance)

A lot of instances don’t work (+1000 instance)

How can the problem be solved?

See pictures and video:
[YouTube Video][1]

This is exactly my issue too:

https://forums.unrealengine.com/development-discussion/rendering/1765990-perinstancecustomdata-not-working-in-hism

If you have a mesh with more vertices, the number of stable instances get way below 100. This PerInstanceCustomData works perfectly with ISM though. You can try that.

I have reported this as a bug, but it didn’t get submitted. So, I’m guessing it’s either in development or never gonna happen!

Hello,

I could see the bug in two instances already.
I hope epic corrects the bug.

Same problem here, I already reported it. Seems Per Instace Custom data is broken in 4.25

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/UnrealEngine/commit/a2e9daf7280cbd7f395e0e03c0c430fabb168d40

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

Hello chalonverse,

thanks for the information.
I tried it too. It works. :slight_smile: