Summary
Sorry, this is a two-for-one report, but I will focus on the tags. I have been messing with Spawners for a couple of weeks now, trying to create a respawn system. I have a map that goes up vertically and a rising storm. I initially created a looping system to track spawner heights for 80 spawners and compare them to storm height. After bugs with height reporting. I shifted to a system based on tags.
My first system’s issue was that 10-20% of the spawners misreported their heights, so I couldn’t rely on this.
Second issue is with 11 tags, tracking different spawners, the resulting generators from “FindCreativeObjectsWithTag{}” are reporting extremely high incorrect numbers of objects ie 116 instead of 14. This is currently where I’m stuck.
Please select what you are reporting on:
Creative
What Type of Bug are you experiencing?
Assets
Steps to Reproduce
At different phases spawners with certain tags would activate. To ensure there weren’t bugs, I printed the length of the generators coming from each tag (I created arrays from the generators). They were all too high in object count. I simplified and checked one generator with an incrementing counter ( to avoid creating an array from it) and it was the same high number in this case 116 when it should have been 14 spawners.
Expected Result
Accurate item count in the generator from the tag system.
Observed Result
116 items were reported for 14 tagged items. The image shows all numbers reported being to high. None of the generators contained more then 16 objects. For the height issue, the image below shows a debug where all the spawners were below the storm. Yet, the debug sphere for all spawners were mixed between green, above storm or active spawner, and red, below storm. All should have been red. Note: The image is the height system before that tag system, so the log is very different.
Platform(s)
windows
Upload an image
Additional Notes
I can provide more info and code upon request.