Get Instances Overlapping Box doesn’t return any instances, even if it’s set to really big box, like Min = (-100k, -100k, -100k) Max = (100k, 100k, 100k).
I’ve tested it with hierarchical instanced static meshes (foliage component).
‘Get Instances Overlapping Sphere’ works fine in the same conditions (it detects the instances), so it must be a bug.
( How to get foliage component in game: Get All Actors of Class (InstancedFoliageActor) → ForEach → getComponentsByClass(Foliage Instanced Static Mesh Component) )
Just press play to see the bugged logic. The ‘OverlapTester’ blueprint does it, it’s in the main folder.
… + regarding Sphere Overlap, it seems like it’s bugged on 4.12 but fixed on 4.13. I’ve made two projects, one for 4.12 which presents bugged sphere overlap (not all instances are detected & removed) and one for 4.13 which presents properly working sphere overlap (all instances detected & removed)
Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here. You can track the report’s status as the issue is reviewed by our development staff.
There was a bit of miscommunication on the backend of this one. I’ve gotten it sorted out and it is back to unresolved. Please keep an eye on it for the reports future updates. Thanks!
Updated “Remove Instances” on a
Hierarchical Instanced Static Mesh
Component to now properly rebuild the
cluster tree, allowing “Get Instances
Overlapping Box” to return correct
results.
But the issue is still marked as Backlogged, sadly… But is it correct? Is the ‘Get Instances Overlapping Box’ really fixed?
I tested this to be sure. The backlog is correct, the box overlap is not yet fixed. Once a fix has been implemented, the public bug tracker will update to reflect this.