LogFAQs > #979345273

LurkerFAQs, Active Database ( 12.01.2023-present ), DB1, DB2, DB3, DB4, DB5, DB6, DB7, DB8, DB9, DB10, DB11, DB12, Clear
Topic List
Page List: 1
TopicI've been working on a 3d platformer game (in unity)
divot1338
03/13/24 11:32:13 AM
#105:


TheGoldenEel posted...
running into a problem with saving.

I have 8 objects tagged "Collectable" and in code I use a FindObjectsWithTag("Collectable"), and it's always returning 7 objects instead of 8. It breaks my serialization and saving.

Can't figure out what's happening. I tried deleting the problem object and creating a new one and copy/pasting a working one, but it still doesn't work
Did you make a typo somewhere in one of the Collectable objects and its different from the orhers?

---
Moustache twirling villian
https://i.imgur.com/U3lt3H4.jpg- Kerbey
... Copied to Clipboard!
Topic List
Page List: 1