I cant get this to work, the code runs fine, "set custom data value" returns true but its all the same color. I tried changing to PerInstanceRandom on the material and it also shows the same color to all, any ideia what I'm doing wrong?
Have you ever come across that in the release version, when creating an object with Spawn Actor from Class, PCG does not work out. It is about the shipping version only, everything works in the debug and development
I have not, but I also haven't been doing much actor spawning. Depending on how you reference the Actor (e.g. by string path only) Unreal's cooker might not realize it is being used and strips it during packaging.
Could this be used to assign custom data based on, for example, the scale of each instance? P.S. I’ve been binge watching your PCG tutorial videos, they’re really awesome
I cant get this to work, the code runs fine, "set custom data value" returns true but its all the same color. I tried changing to PerInstanceRandom on the material and it also shows the same color to all, any ideia what I'm doing wrong?
I found out. I was setting "overlay material" instead of adding a material at "override materials"
What I've been wanting is to be able to use this month's epic monthly free material to make a level with pcg, never want to do it manually again
Have you ever come across that in the release version, when creating an object with Spawn Actor from Class, PCG does not work out. It is about the shipping version only, everything works in the debug and development
I have not, but I also haven't been doing much actor spawning. Depending on how you reference the Actor (e.g. by string path only) Unreal's cooker might not realize it is being used and strips it during packaging.
Could this be used to assign custom data based on, for example, the scale of each instance?
P.S. I’ve been binge watching your PCG tutorial videos, they’re really awesome
Thank you!
Yes you can get the instance transform in the loop and then take the scale of it before writing to custom data.
This is so useful.