Instance overlap functions for Foliage Instanced Static Meshes detects instances incorrectly. I was able to see this occur with both the Sphere and Box functions. In addition, I drew out debug spheres and boxes to see the space in which the spheres and boxes should be checking for the instances. With the same setup in 4.27, it accurately counted the number of instances in the drawn debug shape, in 5.0 it did not count any instances.
Repro Rate: 4/4
Tested this in //UE4/Release-4.27 @ CL#18319896 and was able to accurately get the count of instances overlapping the sphere, it is a regression.
Results: None of the Foliage Instanced Static Meshes are detected.
Expected: The Get Instances Overlapping Sphere array's length should match the number painted due to the size of the sphere encapsulating the foliage instances.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-149109 in the post.
|Component||UE - World Creation - Worldbuilding Tools - Foliage|
|Created||Apr 14, 2022|
|Resolved||Sep 24, 2022|
|Updated||Oct 19, 2022|