x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

'Get Instances Overlapping Box' doesn't work

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) )

Product Version: UE 4.12
Tags:
more ▼

asked Aug 05 '16 at 06:24 PM in Bug Reports

avatar image

Slavq
2k 157 153 210

avatar image Slavq Aug 06 '16 at 05:44 PM

Looks like Overlapping Sphere node also has problems, it misses many instances: https://answers.unrealengine.com/questions/368462/instancedstaticmesh-overlapping-sphere-misses-inst.html

avatar image Adam Davis STAFF Aug 08 '16 at 07:47 PM

Hi Slavq,

  • Does this occur in a clean, blank project with no additional content or is it limited to one project?

  • What steps can I take to reproduce this on my end?

  • Is this limited to foliage actors or does it occur on instanced meshes/hierarchical instance meshes as well?

  • Can you show me a screenshot of how you are setting this up for use?

avatar image Slavq Aug 08 '16 at 08:11 PM

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.

avatar image Ryokath Jan 15 '18 at 07:59 PM

I can confirm that the problem is still occuring with 4.18.2 with Get Instance Overlaping Sphere.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered Aug 09 '16 at 02:03 PM

avatar image Slavq Aug 09 '16 at 05:28 PM

Thanks. I see that the bug is marked as 'Duplicate', is this correct?

avatar image Adam Davis STAFF Aug 09 '16 at 07:47 PM

Hi Slavq,

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!

avatar image Slavq Sep 01 '16 at 06:12 PM

Hello,

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 results.

But the issue is still marked as Backlogged, sadly... But is it correct? Is the 'Get Instances Overlapping Box' really fixed?

avatar image Adam Davis STAFF Sep 01 '16 at 08:00 PM

Hi Slavq,

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.

avatar image JackP STAFF Jan 10 '17 at 07:27 AM

Hi, this has just been fixed for 4.15. If you're using the source code, the change is available on github here:

https://github.com/EpicGames/UnrealEngine/commit/29fca7a767f61025bcd8ad0f3f346c68ba6af6b0

avatar image NEMOxDomus Oct 24 '17 at 06:26 PM

this problem still exists in 4.17.2. At least in my project

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question