TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The Worst Bug Ever–Randomly Losing Your Best Players

11 pointsby a-bit-of-codeabout 3 years ago

3 comments

djurabout 3 years ago
The title of this discusses losing "best players", so I was expecting the bug to be related to player performance in some way -- having won too many games, or scored too many points, or collected too much loot, etc. The bug as described doesn't appear to be related to gameplay at all, so I'm not sure what the title was referring to. Unfortunately, the actual bug appears to just be some Unity code incorrectly parsing data related to in-app purchases.
评论 #31222288 未加载
Someoneabout 3 years ago
FTA: <i>“Well, Apple defines that, but I guess that’s kind of a pain to figure out and it’s just easier to try to decode and see what happens! YOLO!”</i><p>From what I understand (also FTA: <i>“The Unity IAP team found themselves having to harden their code against random data”</i>) the fix wasn’t to read the documentation and do the right thing, but to go deeper in on “if we step carefully through this minefield, we probably will survive”.<p>And Unity’s customer is happy with that!
评论 #31225399 未加载
MichaelZuoabout 3 years ago
Seems like an odd bug to slip through testing, especially for a 4.1x release. Considering that validating string inputs, etc., is pretty much textbook. Unless Unity doesn’t bother to do testing, which also seems unlikely for their flagship multi million, or billion(?), dollar product.