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) )
Sure, I’ve made a repro demo project here:
Box Overlap Bug Repro Demo Project
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)
4.12 Sphere Overlap - bugged
4.13 Sphere Overlap - fixed
For all projects, just press Play to see the bugged logic in action.
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.
Thanks. I see that the bug is marked as ‘Duplicate’, is this correct?
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!
In release notes of 4.13 I see that
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
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.
Hi, this has just been fixed for 4.15. If you’re using the source code, the change is available on github here:
this problem still exists in 4.17.2. At least in my project
I can confirm that the problem is still occuring with 4.18.2 with Get Instance Overlaping Sphere.